public class CreatePackageStep extends org.jenkinsci.plugins.workflow.steps.Step implements ICreatePackage, java.io.Serializable
This duplicates the functionality of CreatePackageBuilder. This is required because the only way to return
data to pipeline script is via a SynchronousNonBlockingStepExecution because updating environment variables is not supported.
| Modifier and Type | Class and Description |
|---|---|
static class |
CreatePackageStep.DescriptorImpl |
| Constructor and Description |
|---|
CreatePackageStep() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getApplicationId() |
DeployToFirstStage |
getDeployToFirstStage() |
EnableReleaseDeployable |
getEnableReleaseDeployable() |
java.lang.String |
getPackageNumber() |
PackageVariables |
getPackageVariables() |
java.lang.String |
getReleaseNumber() |
boolean |
isDeployToFirstStage() |
boolean |
isEnableReleaseDeployable() |
boolean |
isPackageVariables() |
void |
setApplicationId(java.lang.String applicationId) |
void |
setDeployToFirstStage(DeployToFirstStage deployToFirstStage) |
void |
setEnableReleaseDeployable(EnableReleaseDeployable enableReleaseDeployable) |
void |
setPackageNumber(java.lang.String packageNumber) |
void |
setPackageVariables(PackageVariables packageVariables) |
void |
setReleaseNumber(java.lang.String releaseNumber) |
org.jenkinsci.plugins.workflow.steps.StepExecution |
start(org.jenkinsci.plugins.workflow.steps.StepContext context) |
@DataBoundSetter public final void setDeployToFirstStage(DeployToFirstStage deployToFirstStage)
@DataBoundSetter public final void setPackageVariables(PackageVariables packageVariables)
@DataBoundSetter public final void setEnableReleaseDeployable(EnableReleaseDeployable enableReleaseDeployable)
@DataBoundSetter public final void setApplicationId(java.lang.String applicationId)
@DataBoundSetter public final void setReleaseNumber(java.lang.String releaseNumber)
@DataBoundSetter public final void setPackageNumber(java.lang.String packageNumber)
public boolean isDeployToFirstStage()
isDeployToFirstStage in interface ICreatePackagepublic DeployToFirstStage getDeployToFirstStage()
getDeployToFirstStage in interface ICreatePackagepublic boolean isPackageVariables()
isPackageVariables in interface ICreatePackagepublic PackageVariables getPackageVariables()
getPackageVariables in interface ICreatePackagepublic boolean isEnableReleaseDeployable()
isEnableReleaseDeployable in interface ICreatePackagepublic EnableReleaseDeployable getEnableReleaseDeployable()
getEnableReleaseDeployable in interface ICreatePackagepublic java.lang.String getApplicationId()
getApplicationId in interface ICreatePackagepublic java.lang.String getReleaseNumber()
getReleaseNumber in interface ICreatePackagepublic java.lang.String getPackageNumber()
getPackageNumber in interface ICreatePackagepublic org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context)
throws java.lang.Exception
start in class org.jenkinsci.plugins.workflow.steps.Stepjava.lang.Exception