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

In agent configure, "Remote root directory" can't be recognized when there is any leading space

XMLWordPrintable

      In agent configure page. If "Remote root directory" has any leading blank space, Jenkins can't parse it anymore. For example, "  c:\jenkins-agent" doesn't work but "c:\jenkins-agent" works.

      "  c:\jenkins-agent" was considered as a raw string rather than a file path. The agent starting is also failed because it can't find the root directory.

      The workaround is to NOT include any leading space

            Unassigned Unassigned
            chiefbugdeveloper Chief
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: