• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • slave-setup-plugin
    • 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()) {

          [JENKINS-14164] slave-setup tries to execute empty script

          fixed with version 1.6

          Frederik Fromm added a comment - fixed with version 1.6

            ffromm Frederik Fromm
            j_v j_v
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: