Is there a way to 'retry with options'

0

Hi, when we're tweaking builds configs, it would be nice to be able to retry a past build but have the option to change some of its parameters. The RetryBuild action (and by extension the console) only takes the prior build id, and appears to use the exact same parameters, even if you've changed the project config. We sort of work around this currently by doing it all programmatically, and just tweaking the args to StartBuild. But it would be much more convenient to be able to do something lke RetryBuild(id, {computeTypeOverride: ...}) and/or RetryBuild(id, {useCurrentProjectSettings: true}) with corresponding UI support in the console.

已提問 2 年前檢視次數 319 次
2 個答案
0
已接受的答案

While there isn't a console options for this - CloudFormations allow you to do exactly this with templates. You can see the template you deployed, change 1 or more parameters and then re-deploy it.

The Cloud Development Kit takes this a step further, by allowing you to make this template smaller and more object oriented.

AWS
已回答 2 年前
profile picture
專家
已審閱 6 個月前
0

Hi, yeah that's sort of what we're doing with the script i mentioned.

已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南