diff --git a/src/main/java/com/cloudbees/jenkins/GitHubCommitNotifier.java b/src/main/java/com/cloudbees/jenkins/GitHubCommitNotifier.java index aea073e81..a0e662024 100644 --- a/src/main/java/com/cloudbees/jenkins/GitHubCommitNotifier.java +++ b/src/main/java/com/cloudbees/jenkins/GitHubCommitNotifier.java @@ -108,6 +108,7 @@ public static Result getDefaultResultOnFailure() { return Result.fromString(trimToEmpty(resultOnFailure)); } + @Override public BuildStepMonitor getRequiredMonitorService() { return BuildStepMonitor.NONE; } @@ -153,10 +154,12 @@ public void perform(@NonNull Run build, @Extension public static class DescriptorImpl extends BuildStepDescriptor { + @Override public boolean isApplicable(Class aClass) { return true; } + @Override public String getDisplayName() { return GitHubCommitNotifier_DisplayName(); }