How to trigger notification for step /action failure in AWS Codepipeline?
Sign in to the AWS Management Console and open the CodePipeline console at https://console.aws.amazon.com/codepipeline/ . Choose Pipelines, and then choose a pipeline where you want to add notifications. On the pipeline page, choose Notify, and then choose Create notification rule.
Send a Notification When Pipeline State Changes (Console)Choose Create rule. Under Event source, from the Service Name drop-down list, choose CodePipeline. From the Event Type drop-down list, choose the level of state change for the notification.
The stages in a pipeline are connected by transitions, and are represented by arrows in the AWS CodePipeline console. Revisions that successfully complete the actions in a stage will be automatically sent on to the next stage as indicated by the transition arrow. Transitions can be disabled or enabled between stages.
In AWS CodePipeline, an action is part of the sequence in a stage of a pipeline. It is a task performed on the artifact in that stage. Pipeline actions occur in a specified order, in sequence or in parallel, as determined in the configuration of the stage.
AWS CodePipeline now provides notifications on pipeline, stage, and action status changes. https://aws.amazon.com/about-aws/whats-new/2017/09/aws-codepipeline-now-provides-notifications-on-pipeline-stage-and-action-status-changes/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With