diff options
author | S.nishio <nishio@densan-labs.net> | 2014-04-16 01:35:32 +0900 |
---|---|---|
committer | S.nishio <nishio@densan-labs.net> | 2014-04-16 01:35:32 +0900 |
commit | 871700c5b51587fa154f4a8dfefa34b0e9b5e69d (patch) | |
tree | 8695fd70ad4104bc513fdeed9741ad12afaae005 | |
parent | d30d2ef02bbe7e5a451465c7b1bfcd7a469ec8f9 (diff) | |
download | bbprb-871700c5b51587fa154f4a8dfefa34b0e9b5e69d.tar.gz |
set ci skip phrase trigger
-rw-r--r-- | src/main/java/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketBuildTrigger.java | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/main/java/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketBuildTrigger.java b/src/main/java/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketBuildTrigger.java index 47d94dc..65777a3 100644 --- a/src/main/java/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketBuildTrigger.java +++ b/src/main/java/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketBuildTrigger.java @@ -27,6 +27,7 @@ public class BitbucketBuildTrigger extends Trigger<AbstractProject<?, ?>> { private final String password; private final String repositoryOwner; private final String repositoryName; + private final String ciSkipPhrases; transient private BitbucketPullRequestsBuilder bitbucketPullRequestsBuilder; @Extension @@ -39,7 +40,8 @@ public class BitbucketBuildTrigger extends Trigger<AbstractProject<?, ?>> { String username, String password, String repositoryOwner, - String repositoryName) throws ANTLRException { + String repositoryName, + String ciSkipPhrases) throws ANTLRException { super(cron); this.projectPath = projectPath; this.cron = cron; @@ -47,6 +49,7 @@ public class BitbucketBuildTrigger extends Trigger<AbstractProject<?, ?>> { this.password = password; this.repositoryOwner = repositoryOwner; this.repositoryName = repositoryName; + this.ciSkipPhrases = ciSkipPhrases; } public String getProjectPath() { @@ -73,6 +76,10 @@ public class BitbucketBuildTrigger extends Trigger<AbstractProject<?, ?>> { return repositoryName; } + public String getCiSkipPhrases() { + return ciSkipPhrases; + } + @Override public void start(AbstractProject<?, ?> project, boolean newInstance) { try { |