-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Hudson Groovy builder: 1.20
promoted builds plugin: 2.17
Jenkins: 1.583
Groovy: groovy-2.4.0-beta-2
host: Windows 2013R2 Server
I'm using 'Restrict where this process can be run' option together with 'Execute system groovy script' as an action.
The script executes on the specific host, but when I create a groovy process:
cmd = ("ipconfig /all").execute() cmd.consumeProcessOutput(out, err) cmd.waitFor() println out println err
The new created process is running on the Jenkins host, not on the required node.