diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2018-02-19 10:09:17 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2018-02-19 10:09:17 +0300 |
commit | 0e23e55534bd6c5b28401f92dbcedb152ba4136a (patch) | |
tree | 80ccfa44b5d47013a04acd95415430a8a6381e97 /src/main | |
parent | c901b2d17219c7ffb59d37d4375ecba853f71fa7 (diff) | |
download | bbprb-0e23e55534bd6c5b28401f92dbcedb152ba4136a.tar.gz |
Really remove checkDestinationCommit
See 5e104c326af8f587568545406d2a973e715a0f25.
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/jenkinsci/plugins/bbprb/BitbucketBuildTrigger.java | 8 |
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; |