-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Windows
Since slave-setup plugin has "prepare script" and "setup script after copy", it fails on windows under these circumstances:
- Neither master nor slaves have sh shell (path or jenkins configured).
- "prepare script" and "setup script after copy" are empty.
Plugin try to find sh in path to execute the empty script (thus fails).
[I don't need any script execution, but just a directory copy]
Fix proposal:
Don't try to execute empty scripts:
125c125
< if (cmdLine != null) {
—
> if (cmdLine != null && !cmdLine.isEmpty()) {
fixed with version 1.6