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.

asked 2 years ago311 views
2 Answers
0
Accepted Answer

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
answered 2 years ago
profile picture
EXPERT
reviewed 6 months ago
0

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

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions