AWS CodePipeline V2 type pipelines introduces pipeline variable check as a new rule that customers can use in their stage level condition to gate a pipeline execution. You can use this rule with any condition that is evaluated before entering the stage, before exiting a stage – when all actions in the stage have completed successfully, or when any action in the stage has failed. With the variable check rule, you can evaluate a pipeline parameter or an output variable from a prior action in the pipeline against a threshold, to determine if the condition will succeed or fail. For example, you can check if an output variable from a CodeBuild action is a certain value to determine if the pipeline execution should enter a stage.
To learn more about using the variable check rule in stage level conditions in your pipeline, visit our documentation
. For more information about AWS CodePipeline, visit our product page
. The stage level conditions feature is available in all regions
where AWS CodePipeline is supported.