Passing data between build steps in Jenkins

后端 未结 8 1666
臣服心动
臣服心动 2020-12-31 00:09

I\'d like to do something along the lines of:

This is overly simple and just demonstrates what I\'d like to do. Basically, I want to be able to store and access vari

8条回答
  •  礼貌的吻别
    2020-12-31 00:40

    On top of what @Gurubaran suggested (which is what I'd do if had no other option), I'd just opt for joining the build steps to a single one, which will greatly simplify this need.
    You will need to care for the error handling logic and exit conditions, but your environment will be solid!

    I hope this helps.

提交回复
热议问题