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

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

    XMLWordPrintable

Details

    Description

      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 .
      

      Attachments

        Issue Links

          Activity

            matthewbaggett Matthew Baggett created issue -
            csanchez Carlos Sanchez made changes -
            Field Original Value New Value
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Closed [ 6 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 167157 ] JNJira + In-Review [ 209467 ]
            cloudbees CloudBees Inc. made changes -
            Remote Link This issue links to "CloudBees Internal OSS-365 (Web Link)" [ 18905 ]

            People

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

              Dates

                Created:
                Updated:
                Resolved: