The Stop Action action lets you stop a Stage and/or a Build.
Stop
Name
A friendly name for this action (will be displayed in the actions workflow area).
...
The stage is stopped and marked as completed successfully. If it is not the final stage then the stage gate will be evaluated and, providing the gate conditions are met, the next stage is executed.
Stage as failure
The stage is stopped and marked as a failure. If it is not the final stage then the stage gate will be evaluated and, providing the gate conditions are met, the next stage is executed.
Note that the default gate conditions include the condition '$Stage.IsSuccessful$ Equals True'. Remove this to continue to the next stage without failing the build.
Build as success
The build is stopped and marked as completed successfully.
Stage and build as failure
Build as failure
The build is stopped and marked as a failureThe stage will fail which in turn fails the build.
Ignore warnings
If this is ticked, any warnings logged will not mark the action with a warning status.
...