How to set a variable inside Jenkins Shell Command -


i have jenkins build job. has section shell command read "version" of current application building. now, want set jenkins custom variable "version" "version" in same shell command section. need pass value parameter other job being triggered after successful build of job.

enter image description here

now, pass jenkins variable version other job.

enter image description here

please suggest how can this.

use envinject plugin inject runtime variables jenkins build process can use in other build steps or can pass on other job's input parameter.


Comments

Popular posts from this blog

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

html - How to custom Bootstrap grid height? -

transpose - Maple isnt executing function but prints function term -