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

[REGRESSION] Dockerfile filename cannot contain directory separators

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      With the last upgrade to 1.0.2 I'm getting this error:

      org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
      WorkflowScript: 4: Dockerfile filename cannot contain directory separators. @ line 4, column 13.
                     filename 'docker/Dockerfile'
                     ^
      

      Docker accepts directory separators! And this worked before.

        Attachments

          Issue Links

            Activity

            Hide
            abayer Andrew Bayer added a comment -

            d'oh. I was trying to be overly smart and prevent people from inadvertently putting directory separators in the Dockerfile name. Fixing!

            Show
            abayer Andrew Bayer added a comment - d'oh. I was trying to be overly smart and prevent people from inadvertently putting directory separators in the Dockerfile name. Fixing!
            Show
            abayer Andrew Bayer added a comment - PR up at https://github.com/jenkinsci/pipeline-model-definition-plugin/pull/124
            Hide
            lucasocio Leandro Lucarella added a comment -

            Thanks for the quick response!

            Show
            lucasocio Leandro Lucarella added a comment - Thanks for the quick response!
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Andrew Bayer
            Path:
            pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/validator/ModelValidatorImpl.groovy
            pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/AgentTest.java
            pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/ValidatorTest.java
            pipeline-model-definition/src/test/resources/dirSepInDockerfileName.groovy
            pipeline-model-definition/src/test/resources/errors/dirSepInDockerfileName.groovy
            http://jenkins-ci.org/commit/pipeline-model-definition-plugin/d65281d9556733e68b8bf22631b43895a0379669
            Log:
            [FIXED JENKINS-42286] Allow dir separator in Dockerfile name

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Andrew Bayer Path: pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/validator/ModelValidatorImpl.groovy pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/AgentTest.java pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/ValidatorTest.java pipeline-model-definition/src/test/resources/dirSepInDockerfileName.groovy pipeline-model-definition/src/test/resources/errors/dirSepInDockerfileName.groovy http://jenkins-ci.org/commit/pipeline-model-definition-plugin/d65281d9556733e68b8bf22631b43895a0379669 Log: [FIXED JENKINS-42286] Allow dir separator in Dockerfile name
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Andrew Bayer
            Path:
            pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/validator/ModelValidatorImpl.groovy
            pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/AgentTest.java
            pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/ValidatorTest.java
            pipeline-model-definition/src/test/resources/dirSepInDockerfileName.groovy
            pipeline-model-definition/src/test/resources/errors/dirSepInDockerfileName.groovy
            http://jenkins-ci.org/commit/pipeline-model-definition-plugin/faa4b12cea651228a212d92943bfcea7a78a9b43
            Log:
            Merge pull request #124 from abayer/jenkins-42286

            [FIXED JENKINS-42286] Allow dir separator in Dockerfile name

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Andrew Bayer Path: pipeline-model-definition/src/main/groovy/org/jenkinsci/plugins/pipeline/modeldefinition/validator/ModelValidatorImpl.groovy pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/AgentTest.java pipeline-model-definition/src/test/java/org/jenkinsci/plugins/pipeline/modeldefinition/ValidatorTest.java pipeline-model-definition/src/test/resources/dirSepInDockerfileName.groovy pipeline-model-definition/src/test/resources/errors/dirSepInDockerfileName.groovy http://jenkins-ci.org/commit/pipeline-model-definition-plugin/faa4b12cea651228a212d92943bfcea7a78a9b43 Log: Merge pull request #124 from abayer/jenkins-42286 [FIXED JENKINS-42286] Allow dir separator in Dockerfile name

              People

              • Assignee:
                abayer Andrew Bayer
                Reporter:
                lucasocio Leandro Lucarella
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: