Skip to content

Commit

Permalink
[JENKINS-27902] Allow to pass additional request parameter for notify…
Browse files Browse the repository at this point in the history
…Commit

- fixed review finding, that sha1 was not passed correctly.
  • Loading branch information
christiangalsterer committed Apr 19, 2015
1 parent f0b2d0d commit 336d7f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/hudson/plugins/git/GitStatus.java
Expand Up @@ -178,7 +178,7 @@ public List<ResponseContributor> onNotifyCommit(URIish uri, String[] branches) {

public List<ResponseContributor> onNotifyCommit(URIish uri, @Nullable String sha1, String... branches) {
List<ParameterValue> buildParameters = Collections.EMPTY_LIST;
return onNotifyCommit(uri, null, buildParameters, branches);
return onNotifyCommit(uri, sha1, buildParameters, branches);
}

public List<ResponseContributor> onNotifyCommit(URIish uri, @Nullable String sha1, List<ParameterValue> buildParameters, String... branches) {
Expand Down

0 comments on commit 336d7f7

Please sign in to comment.