Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Create build variable using groovy #3674

tsad ·
Hi,

I would like to create build variable using step which is groovy script execution.

I looked at vars variable etc. but could not find anything which could create build variable for me.

Could you help me?

Thanks,
Tomasz
  • replies 3
  • views 1857
  • stars 0
tsad ·
To be precise, I am not interested in creation of new configuration variable but for the build as this variable will be specific to build.
Varal ·
As I understand you want to pass this variable around, so my initial guess would be to create a text file and store what you need there and read back the value anywhere in the build where it is needed.
robinshen ADMIN ·
Or you can pass build properties as variables when invoke your build command.