File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
org/jenkinsci/plugins/github/util Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -325,9 +325,10 @@ public FormValidation doCheckHookUrl(@QueryParameter String value) {
325325
326326 }
327327
328+ @ SuppressWarnings ("unused" )
328329 public FormValidation doReRegister () {
329330 if (!manageHook ) {
330- return FormValidation .error ("Works only when Jenkins manages hooks" );
331+ return FormValidation .warning ("Works only when Jenkins manages hooks" );
331332 }
332333
333334 List <GitHubPushTrigger > registered = from (getJenkinsInstance ().getAllItems (AbstractProject .class ))
Original file line number Diff line number Diff line change @@ -63,7 +63,6 @@ public Collection<GitHubRepositoryName> apply(AbstractProject job) {
6363 };
6464 }
6565
66-
6766 /**
6867 * If any of event subscriber interested in hook for job, then return true
6968 * By default, push hook subscriber is interested in job with gh-push-trigger
@@ -78,5 +77,5 @@ public boolean apply(AbstractProject job) {
7877 }
7978 };
8079 }
81-
8280}
81+
You can’t perform that action at this time.
0 commit comments