Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
System.getProperty('FOO')

Setting properties

To set properties use:

Code Block

import hudson.model.*

def pa = new ParametersAction([
  new StringParameterValue("foo1", "bar1"),
  new StringParameterValue("foo2", "bar2")
])

// add variable to current job
Thread.currentThread().executable.addAction(pa)

Changelog

Upcomming changes

...