Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-64404

Incomplete fix for issue with Java installed into a path with spaces

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • ssh-slaves-plugin
    • None
    • Jenkins Jenkins ver 2.263.1
      ssh-slaves-plugin 1.31.4
      Windows Node using cygwin
      JAVA_HOME set on node to : C:\Program Files\Java\jre8
    • ssh-slaves-1.31.5

      Fix for PR https://github.com/jenkinsci/ssh-slaves-plugin/pull/183 is incomplete.

      The fix have resolved the check version issue we had before :

      Couldn't figure out the Java version of c:\Program Files\Java\jre8/bin/java
      bash: c:Program: command not found

      But now the agent start is failing :

      [12/09/20 11:54:29] [SSH] Starting agent process: cd "e:\jenkins-p" && C:/Program Files/Java/jre8/bin/java -jar remoting.jar -workDir e:\jenkins-p -jar-cache e:\jenkins-p/remoting/jarCache
      bash: C:/Program: No such file or directory

        1. screenshot-1.png
          114 kB
          Ivan Fernandez Calvo

            ifernandezcalvo Ivan Fernandez Calvo
            merlindam Damien Merlin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: