简体   繁体   中英

Is there a timeout configuration for AWS code pipeline action?

I'm currently looking for a way to automatically stop a step, whether it be build or deploy if it reaches a certain threshold.

Like if the deploy step lasted for 15 minutes already, I want it to automatically fail.

Is there a way to do it?

If you go into the project in Developer Tools > CodeBuild > Build projects > [your project] there should be an Edit button/menu with an Environment choice which opens a new page, in which you can extend the Additional configuration triangle and edit the build timeout and queued timeout.

If you Edit the Pipeline -> Edit the Deploy stage -> click on the edit icon on the deploy task, this brings up the Edit Action overlay where, for the Deploy action, you can set a Deployment timeout.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM