The Deploy step deploys a single named project from the snapshot to the stage.
Field | Description |
---|---|
Step Name | The name of the step. |
Description | An optional description for the step. |
Project Name | The name of the project in the snapshot to deploy. This project must be in the snapshot, or the deployment will fail. |
Force Deploy | Whether or not to force deploy the project. If true, this is equivalent to checking force deploy when individually deploying a project to an environment through the deploy request form. |
Precondition | An optional Groovy script which determines whether the gate or step is applicable during execution. The script has access to variables and methods listed in the expression drop-down. The script must return true if the gate/step is applicable, or false otherwise. If no script is provided, the default is to return true (applicable). |
Continue | If checked, any failure will be ignored, and the pipeline execution will continue. |
Notify Release Managers | If checked, an email notification will be sent to the release managers (configured on the release) on failure. |
Tip |
---|
Deploying a named project reduces the generic nature of plugins, as it assumes that the specific project is in the release and project. To make the pipeline more generic, and therefore reusable, you should try to avoid tying it to specific projects where possible. |