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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则