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 bitbucketServer,
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,
boolean buildChronologically,
String commentTrigger) |
Modifier and Type | Method and Description |
---|---|
boolean |
getApproveIfSuccess() |
String |
getBitbucketServer() |
String |
getBranchesFilter() |
boolean |
getBranchesFilterBySCMIncludes() |
boolean |
getBuildChronologically() |
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.Job<?,?> job) |
String |
getUsername() |
boolean |
isCloud() |
void |
run() |
void |
start(hudson.model.Job<?,?> job,
boolean newInstance) |
hudson.model.queue.QueueTaskFuture<?> |
startJob(BitbucketCause cause) |
void |
stop() |
public static final BitbucketBuildTrigger.BitbucketBuildTriggerDescriptor descriptor
@DataBoundConstructor public BitbucketBuildTrigger(String projectPath, String bitbucketServer, 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, boolean buildChronologically, String commentTrigger) throws antlr.ANTLRException
antlr.ANTLRException
public String getProjectPath()
public String getBitbucketServer()
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 boolean getBuildChronologically()
public String getCommentTrigger()
public void start(hudson.model.Job<?,?> job, boolean newInstance)
start
in class hudson.triggers.Trigger<hudson.model.Job<?,?>>
public static BitbucketBuildTrigger getTrigger(hudson.model.Job<?,?> job)
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<?,?>>
public boolean isCloud()
Copyright © 2016–2019. All rights reserved.