How to pass dynamic values to an environment block during the pipeline execution in Jenkins?
- 阅读更多 关于 How to pass dynamic values to an environment block during the pipeline execution in Jenkins?
问题 This is related to one question I asked before: Using groovy to parse JSON object in shell scripts for Jenkin basically I will need to pass a dynamic value as returned from sh scripts to an environment block, so that the following stage can re-use that value and pass the version as a label to JIRA plugin called Xray. But I aware that I cannot pass dynamic values to an environment block during the pipeline execution. So, I think I am going to need try a different route for that, not sure if