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

Cannot install Jenkins agent in path with blanks

    XMLWordPrintable

Details

    Description

      On Windows XP Microsoft had the strange idea to default user profiles in a folder named "Documents and Settings" – with blanks in it!

      Jenkins is unable to install an agent in such a folder. The problems seems that the derived service name will then contain blanks, which is not a problem for Windows apparently (one can go to the services GUI and press START, which actually starts the Jenkins agent service), but for Jenkins: Jenkins cannot start that service (will timeout).

      If 8.3-Support is enabled, one can workaround by providing the abbreviated 8.3 name. But administrators can (and will sometimes) disable 8.3 support.

      So Jenkins must learn to install a agent in such a folder.

      Attachments

        Activity

          mkarg Markus KARG created issue -
          danielbeck Daniel Beck made changes -
          Field Original Value New Value
          Component/s core [ 15593 ]
          Component/s slave-setup [ 15929 ]
          Labels winsw
          danielbeck Daniel Beck made changes -
          Priority Critical [ 2 ] Minor [ 4 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 147555 ] JNJira + In-Review [ 176936 ]
          oleg_nenashev Oleg Nenashev made changes -
          Assignee Kohsuke Kawaguchi [ kohsuke ] Oleg Nenashev [ oleg_nenashev ]
          oleg_nenashev Oleg Nenashev made changes -
          Component/s windows-slave-installer-module [ 21834 ]
          oleg_nenashev Oleg Nenashev made changes -
          Assignee Oleg Nenashev [ oleg_nenashev ]
          slide_o_mix Alex Earl made changes -
          Summary Cannot install Jenkins slave in path with blanks Cannot install Jenkins agent in path with blanks
          slide_o_mix Alex Earl made changes -
          Description On Windows XP Microsoft had the strange idea to default user profiles in a folder named "Documents and Settings" -- with blanks in it! :-(

          Jenkins is unable to install a slave in such a folder. The problems seems that the derived service name will then contain blanks, which is not a problem for Windows apparently (one can go to the services GUI and press START, which actually starts the Jenkins slave service), but for Jenkins: Jenkins cannot start that service (will timeout).

          If 8.3-Support is enabled, one can workaround by providing the abbreviated 8.3 name. But administrators can (and will sometimes) disable 8.3 support.

          So Jenkins must learn to install a slave in such a folder.
          On Windows XP Microsoft had the strange idea to default user profiles in a folder named "Documents and Settings" – with blanks in it! :(

          Jenkins is unable to install an agent in such a folder. The problems seems that the derived service name will then contain blanks, which is not a problem for Windows apparently (one can go to the services GUI and press START, which actually starts the Jenkins agent service), but for Jenkins: Jenkins cannot start that service (will timeout).

          If 8.3-Support is enabled, one can workaround by providing the abbreviated 8.3 name. But administrators can (and will sometimes) disable 8.3 support.

          So Jenkins must learn to install a agent in such a folder.

          People

            Unassigned Unassigned
            mkarg Markus KARG
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: