The auto-install of the jdk (7u7) hangs on my windows slaves. It seems that the command contains too many "\". The console output shows:

      [JDK_7u7] $ C:\Jenkins\tools\JDK\JDK_7u7\jdk.exe /s /v /qn /L \"C:\Jenkins\tools\JDK\JDK_7u7\jdk.exe.install.log\" REBOOT=ReallySuppress INSTALLDIR=\"C:\Jenkins\tools\JDK\JDK_7u7\"

      Running that command manually on the slave gives a popup(see attachment)

      To make it work I had to remove 4 "\". Seems like there might be some escape character that actually is output as the command? This command runs successfully:

      [JDK_7u7] $ C:\Jenkins\tools\JDK\JDK_7u7\jdk.exe /s /v /qn /L "C:\Jenkins\tools\JDK\JDK_7u7\jdk.exe.install.log" REBOOT=ReallySuppress INSTALLDIR="C:\Jenkins\tools\JDK\JDK_7u7"

          [JENKINS-15945] Auto-install of JDK fails on Windows Slave

          Halvor Platou created issue -
          Halvor Platou made changes -
          Description Original: The auto-install of the jdk (7u7) hangs on my windows slaves. It seems that the command contains too many "\". The console output shows:
          {quote}[JDK_7u7] $ C:\Jenkins\tools\JDK\JDK_7u7\jdk.exe /s /v /qn /L \"C:\Jenkins\tools\JDK\JDK_7u7\jdk.exe.install.log\" REBOOT=ReallySuppress INSTALLDIR=\"C:\Jenkins\tools\JDK\JDK_7u7\"{quote}

          Running that command manually on the slave gives a pupup(see attachment)

          To make it work I had to remove 4 "\". Seems like there might be some escape character that actually is output as the command? This command runs successfully:

          {quote}[JDK_7u7] $ C:\Jenkins\tools\JDK\JDK_7u7\jdk.exe /s /v /qn /L "C:\Jenkins\tools\JDK\JDK_7u7\jdk.exe.install.log" REBOOT=ReallySuppress INSTALLDIR="C:\Jenkins\tools\JDK\JDK_7u7"{quote}
          New: The auto-install of the jdk (7u7) hangs on my windows slaves. It seems that the command contains too many "\". The console output shows:
          {quote}[JDK_7u7] $ C:\Jenkins\tools\JDK\JDK_7u7\jdk.exe /s /v /qn /L \"C:\Jenkins\tools\JDK\JDK_7u7\jdk.exe.install.log\" REBOOT=ReallySuppress INSTALLDIR=\"C:\Jenkins\tools\JDK\JDK_7u7\"{quote}

          Running that command manually on the slave gives a popup(see attachment)

          To make it work I had to remove 4 "\". Seems like there might be some escape character that actually is output as the command? This command runs successfully:

          {quote}[JDK_7u7] $ C:\Jenkins\tools\JDK\JDK_7u7\jdk.exe /s /v /qn /L "C:\Jenkins\tools\JDK\JDK_7u7\jdk.exe.install.log" REBOOT=ReallySuppress INSTALLDIR="C:\Jenkins\tools\JDK\JDK_7u7"{quote}

          cowwoc added a comment -

          I believe this is a duplicate of JENKINS-15945

          cowwoc added a comment - I believe this is a duplicate of JENKINS-15945
          sogabe made changes -
          Link New: This issue duplicates JENKINS-5408 [ JENKINS-5408 ]
          sogabe made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Niels Dybdahl made changes -
          Link New: This issue is related to JENKINS-23366 [ JENKINS-23366 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 146747 ] New: JNJira + In-Review [ 192066 ]

            Unassigned Unassigned
            hp Halvor Platou
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: