Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[JENKINS-31884] Override the newest version of onNotifyCommit.
  • Loading branch information
jglick committed Dec 3, 2015
1 parent 1502180 commit 9d1d316
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/jenkins/plugins/git/GitSCMSource.java
Expand Up @@ -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;
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 9d1d316

Please sign in to comment.