Passing data between build steps in Jenkins

后端 未结 8 1822
臣服心动
臣服心动 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:47

    Jenkins allows you to inject environment variables to the build process. Maybe all you have to do is Inject the Start time and End Time as environment variables and access them across your build steps. enter image description here

提交回复
热议问题