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

Spaces in $WORKSPACE path

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:
      Plugin version 1.35
      Ubuntu 14.04
      Master/Agent configuration (remote execution on agent nodes)
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

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

              Dates

              • Created:
                Updated: