• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • core
    • None
    • Windows7

      I have jenkins 1.566 running. I have configured it to automatically install jdk8u5 from Oracle site. It has successfully done that for my linux slaves, but failed on two windows slaves.

      The command Jenkins uses (note the quoting):
      [8u5] $ c:\jenkins\tools\hudson.model.JDK\8u5\jdk.exe /s ADDLOCAL="ToolsFeature" REBOOT=ReallySuppress INSTALLDIR=c:\jenkins\tools\hudson.model.JDK\8u5 '/L \"c:\jenkins\tools\hudson.model.JDK\8u5\jdk.exe.install.log\"'
      Failed to install JDK. Exit code=-80
      ERROR: null

      If I remove some quoting and run manually the following command
      c:\jenkins\tools\hudson.model.JDK\8u5\jdk.exe /s ADDLOCAL="ToolsFeature" REBOOT=ReallySuppress INSTALLDIR=c:\jenkins\tools\hudson.model.JDK\8u5 /L c:\jenkins\tools\hudson.model.JDK\8u5\jdk.exe.install.log

      Then installation is a success.

          [JENKINS-23366] jdk8u5 installation fails on windows agents

          Nikita Salnikov-Tarnovski created issue -
          Oleg Nenashev made changes -
          Component/s New: core [ 15593 ]
          Component/s New: remoting [ 15489 ]
          Component/s Original: slave-setup-plugin [ 15929 ]
          Niels Dybdahl made changes -
          Link New: This issue is related to JENKINS-5408 [ JENKINS-5408 ]
          Niels Dybdahl made changes -
          Link New: This issue is related to JENKINS-15945 [ JENKINS-15945 ]
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-34012 [ JENKINS-34012 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 155933 ] New: JNJira + In-Review [ 179170 ]
          Oleg Nenashev made changes -
          Component/s Original: remoting [ 15489 ]
          Alex Earl made changes -
          Summary Original: jdk8u5 installation fails on windows slaves New: jdk8u5 installation fails on windows agents

            kohsuke Kohsuke Kawaguchi
            nikem Nikita Salnikov-Tarnovski
            Votes:
            7 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated: