Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Component/s: postbuildscript-plugin
-
Labels:None
-
Environment:Linux
-
Similar Issues:
Description
When running a groovy script the script executes with the location of the jenkins binary as working directory. I feel the execution should have the workspace directory as working directory.
I'm afraid I can't execute the Groovy script from the workspace path. However, I could add a WORKSPACE variable, accessible from your Groovy script.
Does it suit you?