Hello,
Through the Go REST API, is it possible to promote a specific build to a stage defined as 'manual' ?
For example, if i were to programmatically trigger a pipeline thus :
curl -u ${user}:${pass} -d "" http://${go_url}:${go_port}/go/run/${pipeline_name}
it would execute all stages defined as 'success' (providing they're all successful) and halt before the first 'manual' stage.
How can one programmatically promote the build in question to the following stage?
Thanks for your insight.
FR.
Comments
1 comment
Hi Francis,
You can use
curl -u ${user}:${pass} -d "" http://${go_url}:${go_port}/go/run/${pipeline_name}/${pipeline_counter}/${stage_name}
- Rajesh
Please sign in to leave a comment.