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.

gefragt vor 2 Jahren319 Aufrufe
2 Antworten
0
Akzeptierte Antwort

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
beantwortet vor 2 Jahren
profile picture
EXPERTE
überprüft vor 6 Monaten
0

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

beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen