I have released Workflow 1.10, available on the update center for users of Jenkins 1.609.1 and later. This release includes an assortment of changes including fixes for a few longstanding bugs, as well as three new features:
If you are using the
buildstep to start downstream Workflow builds (as opposed to freestyle builds), you can now have that downstream build set variables which the upstream build can read. (But if you find yourself doing this, ask whether it would not be simpler to merge them into one script, allowing you to use plain old Groovy variables to pass around information.)
There is a new pair of steps,
unstash, which make it easy to pass a file or whole directory from one part of a Workflow build to another, even across
nodeblocks. You no longer need to add build artifacts for this purpose.
Thanks to Kohsuke there is a new way of using the
workflowLibs.gitlibrary repository: to define custom global variables and functions. This lets a Jenkins administrator create a site-specific DSL. One use case is permitting per-job scripts to be reduced to what looks more like a configuration file than a Groovy program. Read more here .
Work also continues on the Workflow: Multibranch plugin.
CloudBees Jenkins Enterprise users may also upgrade to CloudBees Workflow 1.5, with minor fixes and support for 1.10’s stashes. ( release notes )
Stay up to date
We'll never share your email address and you can opt out at any time, we promise.