From 0e23e55534bd6c5b28401f92dbcedb152ba4136a Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Mon, 19 Feb 2018 10:09:17 +0300 Subject: Really remove checkDestinationCommit See 5e104c326af8f587568545406d2a973e715a0f25. --- .../java/org/jenkinsci/plugins/bbprb/BitbucketBuildTrigger.java | 8 +------- 1 file changed, 1 insertion(+), 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> { 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> { 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> { @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; -- cgit v1.2.3