Skip to content
Permalink
Browse files

[JENKINS-31884] Override the newest version of onNotifyCommit.

  • Loading branch information
jglick committed Dec 3, 2015
1 parent 1502180 commit 9d1d316e0e95c99b44862daaba349dbe9b870d00
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/main/java/jenkins/plugins/git/GitSCMSource.java
@@ -29,6 +29,7 @@
import com.cloudbees.plugins.credentials.domains.URIRequirementBuilder;
import hudson.Extension;
import hudson.model.Item;
import hudson.model.ParameterValue;
import hudson.plugins.git.GitStatus;
import hudson.security.ACL;
import hudson.util.ListBoxModel;
@@ -146,7 +147,7 @@ public ListBoxModel doFillCredentialsIdItems(@AncestorInPath SCMSourceOwner cont
public static class ListenerImpl extends GitStatus.Listener {

@Override
public List<GitStatus.ResponseContributor> onNotifyCommit(URIish uri, String sha1, String... branches) {
public List<GitStatus.ResponseContributor> onNotifyCommit(URIish uri, String sha1, List<ParameterValue> buildParameters, String... branches) {
List<GitStatus.ResponseContributor> result = new ArrayList<GitStatus.ResponseContributor>();
boolean notified = false;
// run in high privilege to see all the projects anonymous users don't see.

0 comments on commit 9d1d316

Please sign in to comment.
You can’t perform that action at this time.