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

Cannot install Jenkins agent in path with blanks

      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.

          [JENKINS-16730] Cannot install Jenkins agent in path with blanks

          Daniel Beck added a comment -

          Seems to be an issue in winsw, assigning to core as we have no separate winsw component.

          Does this issue still occur in recent Jenkins versions? 1.559 and up would be useful.

          If this analysis is correct, why does this not happen with slaves installed to Program files?

          Daniel Beck added a comment - Seems to be an issue in winsw, assigning to core as we have no separate winsw component. Does this issue still occur in recent Jenkins versions? 1.559 and up would be useful. If this analysis is correct, why does this not happen with slaves installed to Program files?

          Daniel Beck added a comment -

          Workaround present: Don't install into such a folder.

          Daniel Beck added a comment - Workaround present: Don't install into such a folder.

          Oleg Nenashev added a comment -

          I do not plan to work on it anytime soon (if it has not been fixed yet by other patch).

          Pull requests will be appreciated

          Oleg Nenashev added a comment - I do not plan to work on it anytime soon (if it has not been fixed yet by other patch). Pull requests will be appreciated

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

              Created:
              Updated: