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

docker-build-publish plugin no longer works with spaces in the workspace path

XMLWordPrintable

      Between 1.0.1 and 1.1, this plugin has broken builds where workspaces have spaces in the names, as you can see below.

      In 1.1:

      [Build Intervent.io] $ docker build -t tutum.co/matthewbaggett/interventio /var/lib/jenkins/workspace/Build Intervent.io
      docker: "build" requires 1 argument.
      See 'docker build --help'.
      
      Usage: docker build [OPTIONS] PATH | URL | -
      
      Build a new image from the source code at PATH
      Build step 'Docker Build and Publish' marked build as failure
      

      In 1.0.1:

      [Build Intervent.io] $ docker build -t tutum.co/matthewbaggett/interventio .
      

            csanchez Carlos Sanchez
            matthewbaggett Matthew Baggett
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: