public class PipelineTriggerProperty
extends com.cloudbees.hudson.plugins.folder.AbstractFolderProperty<jenkins.branch.MultiBranchProject<?,?>>
| Modifier and Type | Class and Description |
|---|---|
static class |
PipelineTriggerProperty.DescriptorImpl |
| Constructor and Description |
|---|
PipelineTriggerProperty(String createActionJobsToTrigger,
String deleteActionJobsToTrigger,
String actionJobsToTriggerOnRunDelete,
String branchIncludeFilter,
String branchExcludeFilter) |
| Modifier and Type | Method and Description |
|---|---|
void |
buildActionJobsOnRunDelete(String projectName,
String projectFullName,
Integer runNumber,
String runDisplayName)
Build Jobs which are defined in the @actionJobsToTriggerOnRunDelete field.
|
void |
buildCreateActionJobs(String projectName,
String projectFullName)
Build Jobs which are defined in the @createActionJobsToTrigger field.
|
void |
buildDeleteActionJobs(String projectName,
String projectFullName)
Build Jobs which are defined in the @deleteActionJobsToTrigger field.
|
static String |
convertToPattern(String wildcardDefinitions) |
List<hudson.model.Job> |
getActionJobsOnRunDelete()
Getter method for @actionJobsOnRunDelete
|
String |
getActionJobsToTriggerOnRunDelete()
Getter method for @actionJobsToTriggerOnRunDelete
|
String |
getBranchExcludeFilter() |
String |
getBranchIncludeFilter() |
List<hudson.model.Job> |
getCreateActionJobs()
Getter method for @createActionJobs
|
String |
getCreateActionJobsToTrigger()
Getter method for @createActionJobsToTrigger
|
List<hudson.model.Job> |
getDeleteActionJobs()
Getter method for @deleteActionJobs
|
String |
getDeleteActionJobsToTrigger()
Getter method for @deleteActionJobsToTrigger
|
void |
setActionJobsOnRunDelete(List<hudson.model.Job> actionJobsOnRunDelete)
Setter method for @actionJobsOnRunDelete
|
void |
setActionJobsToTriggerOnRunDelete(String actionJobsToTriggerOnRunDelete)
Setter method for @actionJobsToTriggerOnRunDelete
Additionally.
|
void |
setBranchExcludeFilter(String branchExcludeFilter) |
void |
setBranchIncludeFilter(String branchIncludeFilter) |
void |
setCreateActionJobs(List<hudson.model.Job> createActionJobs)
Setter method for @createActionJobs
|
void |
setCreateActionJobsToTrigger(String createActionJobsToTrigger)
Setter method for @createActionJobsToTrigger
Additionally.
|
void |
setDeleteActionJobs(List<hudson.model.Job> deleteActionJobs)
Setter method for @createActionJobs
|
void |
setDeleteActionJobsToTrigger(String deleteActionJobsToTrigger)
Setter method for @deleteActionJobsToTrigger
Additionally.
|
static void |
triggerActionJobsOnRunDelete(org.jenkinsci.plugins.workflow.job.WorkflowJob workflowJob,
hudson.model.Run<?,?> run) |
static void |
triggerCreateActionJobs(org.jenkinsci.plugins.workflow.job.WorkflowJob workflowJob) |
static void |
triggerDeleteActionJobs(org.jenkinsci.plugins.workflow.job.WorkflowJob workflowJob) |
@DataBoundConstructor public PipelineTriggerProperty(String createActionJobsToTrigger, String deleteActionJobsToTrigger, String actionJobsToTriggerOnRunDelete, String branchIncludeFilter, String branchExcludeFilter)
createActionJobsToTrigger - Full names of the jobs in comma separated format which are defined in the fielddeleteActionJobsToTrigger - Full names of the jobs in comma separated format which are defined in the fieldactionJobsToTriggerOnRunDelete - Full names of the jobs in comma separated format which are defined in the fieldDataBoundConstructorpublic String getCreateActionJobsToTrigger()
@DataBoundSetter public void setCreateActionJobsToTrigger(String createActionJobsToTrigger)
createActionJobsToTrigger - Full names of the jobs in comma separated format which are defined in the fieldpublic String getDeleteActionJobsToTrigger()
@DataBoundSetter public void setDeleteActionJobsToTrigger(String deleteActionJobsToTrigger)
deleteActionJobsToTrigger - Full names of the jobs in comma-separated format which are defined in the fieldpublic String getActionJobsToTriggerOnRunDelete()
@DataBoundSetter public void setActionJobsToTriggerOnRunDelete(String actionJobsToTriggerOnRunDelete)
actionJobsToTriggerOnRunDelete - Full names of the jobs in comma-separated format which are defined in the fieldpublic List<hudson.model.Job> getCreateActionJobs()
public void setCreateActionJobs(List<hudson.model.Job> createActionJobs)
createActionJobs - List of Job for Pre Actionpublic List<hudson.model.Job> getDeleteActionJobs()
public void setDeleteActionJobs(List<hudson.model.Job> deleteActionJobs)
deleteActionJobs - List of Job for Post Actionpublic List<hudson.model.Job> getActionJobsOnRunDelete()
public void setActionJobsOnRunDelete(List<hudson.model.Job> actionJobsOnRunDelete)
actionJobsOnRunDelete - List of Job for Run Delete Actionpublic void buildCreateActionJobs(String projectName, String projectFullName)
projectName - Name of the project. This will be branch name which is found in branch indexing.
Also this value will be passed as StringParameterDefinitionprojectFullName - Full name of the project.
Also this value will be passed as StringParameterDefinitionpublic void buildDeleteActionJobs(String projectName, String projectFullName)
projectName - Name of the project. This will be branch name which is found in branch indexing.
Also this value will be passed as StringParameterDefinitionprojectFullName - Full name of the project.
Also this value will be passed as StringParameterDefinitionpublic void buildActionJobsOnRunDelete(String projectName, String projectFullName, Integer runNumber, String runDisplayName)
projectName - Name of the project. This will be branch name which is found in branch indexing.
Also this value will be passed as StringParameterDefinitionprojectFullName - Full name of the project.
Also this value will be passed as StringParameterDefinitionrunNumber - Number of the upstream build.
This value will be passed as StringParameterDefinition.runDisplayName - Display Name of the upstream build.
This value will be passed as StringParameterDefinition.public static void triggerDeleteActionJobs(org.jenkinsci.plugins.workflow.job.WorkflowJob workflowJob)
public static void triggerCreateActionJobs(org.jenkinsci.plugins.workflow.job.WorkflowJob workflowJob)
public static void triggerActionJobsOnRunDelete(org.jenkinsci.plugins.workflow.job.WorkflowJob workflowJob,
hudson.model.Run<?,?> run)
public String getBranchIncludeFilter()
@DataBoundSetter public void setBranchIncludeFilter(String branchIncludeFilter)
public String getBranchExcludeFilter()
@DataBoundSetter public void setBranchExcludeFilter(String branchExcludeFilter)
Copyright © 2016–2019. All rights reserved.