aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorS.Nishio <nishio@densan-labs.net>2015-07-19 15:53:08 +0900
committerS.Nishio <nishio@densan-labs.net>2015-07-19 15:53:08 +0900
commit6abe024b844ceca91c7f622d4c36b9c0cee895ba (patch)
tree9f56de403da56a04a03dbe03de29edc2fb806039
parent5ce7591f5f403388cf3a4b07a11d658fd65cd508 (diff)
parent9a8e8c9579bb9121d598bc1b2e8c023abd2975ef (diff)
downloadbbprb-6abe024b844ceca91c7f622d4c36b9c0cee895ba.tar.gz
Merge pull request #50 from nishio-dens/feature/issue-49
Fix Compilation error of master branch
-rw-r--r--pom.xml4
-rw-r--r--src/main/java/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketBuildTrigger.java2
2 files changed, 3 insertions, 3 deletions
diff --git a/pom.xml b/pom.xml
index 234d250..7fa4ec8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -57,9 +57,9 @@
<version>1.9.13</version>
</dependency>
<dependency>
- <groupId>org.eclipse.hudson.plugins</groupId>
+ <groupId>org.jenkins-ci.plugins</groupId>
<artifactId>git</artifactId>
- <version>3.0.1</version>
+ <version>2.2.4</version>
</dependency>
</dependencies>
diff --git a/src/main/java/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketBuildTrigger.java b/src/main/java/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketBuildTrigger.java
index 7b72562..6e938a6 100644
--- a/src/main/java/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketBuildTrigger.java
+++ b/src/main/java/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketBuildTrigger.java
@@ -130,7 +130,7 @@ public class BitbucketBuildTrigger extends Trigger<AbstractProject<?, ?>> {
values.put("destinationRepositoryOwner", new StringParameterValue("destinationRepositoryOwner", cause.getDestinationRepositoryOwner()));
values.put("destinationRepositoryName", new StringParameterValue("destinationRepositoryName", cause.getDestinationRepositoryName()));
values.put("pullRequestTitle", new StringParameterValue("pullRequestTitle", cause.getPullRequestTitle()));
- return this.job.scheduleBuild2(0, cause, new ParametersAction(new ArrayList(values.values())), new RevisionParameterAction(cause.getCommitHash()));
+ return this.job.scheduleBuild2(0, cause, new ParametersAction(new ArrayList(values.values())), new RevisionParameterAction(cause.getSourceCommitHash()));
}
private Map<String, ParameterValue> getDefaultParameters() {