public class BitbucketBuildTrigger
extends hudson.triggers.Trigger<hudson.model.Job<?,?>>
| Modifier and Type | Class and Description |
|---|---|
static class |
BitbucketBuildTrigger.BitbucketBuildTriggerDescriptor |
| Modifier and Type | Field and Description |
|---|---|
static BitbucketBuildTrigger.BitbucketBuildTriggerDescriptor |
descriptor |
| Constructor and Description |
|---|
BitbucketBuildTrigger(String projectPath,
String cron,
String credentialsId,
String username,
String password,
String repositoryOwner,
String repositoryName,
String branchesFilter,
boolean branchesFilterBySCMIncludes,
String ciKey,
String ciName,
String ciSkipPhrases,
boolean checkDestinationCommit,
boolean approveIfSuccess,
boolean cancelOutdatedJobs,
String commentTrigger) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getApproveIfSuccess() |
String |
getBranchesFilter() |
boolean |
getBranchesFilterBySCMIncludes() |
BitbucketPullRequestsBuilder |
getBuilder() |
boolean |
getCancelOutdatedJobs() |
boolean |
getCheckDestinationCommit() |
String |
getCiKey() |
String |
getCiName() |
String |
getCiSkipPhrases() |
String |
getCommentTrigger() |
String |
getCredentialsId() |
String |
getCron() |
String |
getPassword() |
String |
getProjectPath() |
String |
getRepositoryName() |
String |
getRepositoryOwner() |
static BitbucketBuildTrigger |
getTrigger(hudson.model.AbstractProject project) |
String |
getUsername() |
void |
run() |
void |
start(hudson.model.Job<?,?> project,
boolean newInstance) |
hudson.model.queue.QueueTaskFuture<?> |
startJob(BitbucketCause cause) |
void |
stop() |
public static final BitbucketBuildTrigger.BitbucketBuildTriggerDescriptor descriptor
@DataBoundConstructor public BitbucketBuildTrigger(String projectPath, String cron, String credentialsId, String username, String password, String repositoryOwner, String repositoryName, String branchesFilter, boolean branchesFilterBySCMIncludes, String ciKey, String ciName, String ciSkipPhrases, boolean checkDestinationCommit, boolean approveIfSuccess, boolean cancelOutdatedJobs, String commentTrigger) throws antlr.ANTLRException
antlr.ANTLRExceptionpublic String getProjectPath()
public String getCron()
public String getCredentialsId()
public String getUsername()
public String getPassword()
public String getRepositoryOwner()
public String getRepositoryName()
public String getBranchesFilter()
public boolean getBranchesFilterBySCMIncludes()
public String getCiKey()
public String getCiName()
public String getCiSkipPhrases()
public boolean getCheckDestinationCommit()
public boolean getApproveIfSuccess()
public boolean getCancelOutdatedJobs()
public String getCommentTrigger()
public void start(hudson.model.Job<?,?> project,
boolean newInstance)
start in class hudson.triggers.Trigger<hudson.model.Job<?,?>>public static BitbucketBuildTrigger getTrigger(hudson.model.AbstractProject project)
public BitbucketPullRequestsBuilder getBuilder()
public hudson.model.queue.QueueTaskFuture<?> startJob(BitbucketCause cause)
public void run()
run in class hudson.triggers.Trigger<hudson.model.Job<?,?>>public void stop()
stop in class hudson.triggers.Trigger<hudson.model.Job<?,?>>Copyright © 2016–2018. All rights reserved.