Get Jenkins environment variables in execute shell

前端 未结 1 849
挽巷
挽巷 2021-01-12 00:16

I was wondering if it is possible to access Jenkins environment variables inside the execute shell in configure build? If so can you show me an example please? I need to com

相关标签:
1条回答
  • 2021-01-12 00:25

    Please check http://yourjenkins-url/env-vars.html/. All the environment variable can be used by surrounding with ${} enter image description here

    After successfully built, You can see output like this:

    enter image description here

    0 讨论(0)
提交回复
热议问题