-
Bug
-
Resolution: Not A Defect
-
Minor
-
None
-
Jenkins ver. 1.560
The following simple statement always prints null.
out.println build.workspace
This began happening to existing build-flow jobs when recently upgrading to the build-flow plugin to 0.11, and is reproducible when creating new build-flow jobs as well. This functionality is important when the build-flow job is creating artifacts.
- is related to
-
JENKINS-20843 build flow plugin does not properly initialize workspace but supports options (SCM) that require a workspace
-
- Open
-
There was a commit in version 0.11 that removed the workspace.
https://github.com/jenkinsci/build-flow-plugin/commit/444097d65ecb97c92005b3acd63db8e03bdeb6a3
You can get the 0.10 version of the plugin here:
http://updates.jenkins-ci.org/download/plugins/build-flow-plugin/0.10/build-flow-plugin.hpi