In GOCD we are able to define env variables and parameters for the entire pipeline, stage and individual jobs. Is it possible to update those already defined env variables and parameters via a task in a job when running the pipeline?
Asked
Active
Viewed 1,822 times
1 Answers
0
Would you like to update them permanently or just for specific execution?
If you would like to do first, I suppose you have to work with config xml, using Pipeline Config REST API. For latter case you can trigger pipeline with given environment variables set.
In any case, I would recommend you yagocd library, which would let you do both tasks with ease.

grundic
- 4,641
- 3
- 31
- 47