Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Using the same variable. Easier to copy-paste.

...

Code Block
startServer = "admin computer"
startNote   = "bulk start"
cause = new hudson.model.Cause.RemoteCause(startServer, startNote)
joblistfailedRuns.each{run -> run.scheduleBuild(cause)}