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

Spaces in $WORKSPACE path

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Plugin version 1.35
      Ubuntu 14.04
      Master/Agent configuration (remote execution on agent nodes)

      The $WORKSPACE is used by default in steps such as "Create/build image." If the path and therefore the variable contains spaces, an error is reported during execution:

      ERROR: Build step failed with exception
      java.lang.IllegalArgumentException: configured dockerFolder '/home/jenkins-agent/workspace/my workspace with spaces in the name' does not exist.
      

      I imagine this is an issue of providing escaping of spaces in path-related variables under Linux.

            vjuranek vjuranek
            mckben Benjamin Mosior
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: