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.

posta 2 anni fa319 visualizzazioni
2 Risposte
0
Risposta accettata

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
con risposta 2 anni fa
profile picture
ESPERTO
verificato 6 mesi fa
0

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

con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande