aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/org/jenkinsci/plugins/bbprb/BitbucketBuildTrigger.java8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/main/java/org/jenkinsci/plugins/bbprb/BitbucketBuildTrigger.java b/src/main/java/org/jenkinsci/plugins/bbprb/BitbucketBuildTrigger.java
index b0c6ece..0cbd857 100644
--- a/src/main/java/org/jenkinsci/plugins/bbprb/BitbucketBuildTrigger.java
+++ b/src/main/java/org/jenkinsci/plugins/bbprb/BitbucketBuildTrigger.java
@@ -54,7 +54,6 @@ public class BitbucketBuildTrigger extends Trigger<AbstractProject<?, ?>> {
private final String credentialsId;
private final String destinationRepository;
private final boolean cancelOutdatedJobs;
- private final boolean checkDestinationCommit;
// XXX: This is for Jelly.
// https://wiki.jenkins.io/display/JENKINS/Basic+guide+to+Jelly+usage+in+Jenkins
@@ -73,9 +72,6 @@ public class BitbucketBuildTrigger extends Trigger<AbstractProject<?, ?>> {
public boolean getCancelOutdatedJobs() {
return this.cancelOutdatedJobs;
}
- public boolean getCheckDestinationCommit() {
- return this.checkDestinationCommit;
- }
private transient ApiClient apiClient;
@@ -85,13 +81,11 @@ public class BitbucketBuildTrigger extends Trigger<AbstractProject<?, ?>> {
@DataBoundConstructor
public BitbucketBuildTrigger(String credentialsId,
String destinationRepository, String ciKey,
- String ciName, boolean checkDestinationCommit,
- boolean cancelOutdatedJobs)
+ String ciName, boolean cancelOutdatedJobs)
throws ANTLRException {
super();
this.apiClient = null;
this.cancelOutdatedJobs = cancelOutdatedJobs;
- this.checkDestinationCommit = checkDestinationCommit;
this.ciKey = ciKey;
this.ciName = ciName;
this.credentialsId = credentialsId;