-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
linux ubuntu
in a job, define the custom working directory using the job configuration UI
in a trigger, the function
Hudson.getInstance().getWorkspaceFor((TopLevelItem) job);
is returning the default path not the custom one.
((AbstractBuild)((Job)job).getLastBuild()).getWorkspace();
is retuning the correct one (but once the previous build has used the custom path)