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

problem with DOCKER_* env variables

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      After execution of "Create container" i can user $DOCKER_CONTAINER_IDS in next shell step, but when I try to use it in "Start Container" then I get an error:

      [Docker] ERROR: command 'Start constainer(s)' failed: No such container $DOCKER_CONTAINER_IDS

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Vojtech Juranek
          Path:
          src/main/java/org/jenkinsci/plugins/dockerbuildstep/cmd/StartByImageIdCommand.java
          src/main/java/org/jenkinsci/plugins/dockerbuildstep/cmd/StartCommand.java
          src/main/java/org/jenkinsci/plugins/dockerbuildstep/cmd/StopByImageIdCommand.java
          src/main/java/org/jenkinsci/plugins/dockerbuildstep/cmd/StopCommand.java
          src/main/java/org/jenkinsci/plugins/dockerbuildstep/util/Resolver.java
          http://jenkins-ci.org/commit/docker-build-step-plugin/d1e4d11cf10dec845c3941eec3f80546969640db
          Log:
          JENKINS-23025 Allow container IDs contain env. variables

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Vojtech Juranek Path: src/main/java/org/jenkinsci/plugins/dockerbuildstep/cmd/StartByImageIdCommand.java src/main/java/org/jenkinsci/plugins/dockerbuildstep/cmd/StartCommand.java src/main/java/org/jenkinsci/plugins/dockerbuildstep/cmd/StopByImageIdCommand.java src/main/java/org/jenkinsci/plugins/dockerbuildstep/cmd/StopCommand.java src/main/java/org/jenkinsci/plugins/dockerbuildstep/util/Resolver.java http://jenkins-ci.org/commit/docker-build-step-plugin/d1e4d11cf10dec845c3941eec3f80546969640db Log: JENKINS-23025 Allow container IDs contain env. variables
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Vojtech Juranek
          Path:
          src/main/java/org/jenkinsci/plugins/dockerbuildstep/cmd/CommitCommand.java
          src/main/java/org/jenkinsci/plugins/dockerbuildstep/cmd/CreateContainerCommand.java
          src/main/java/org/jenkinsci/plugins/dockerbuildstep/cmd/CreateImageCommand.java
          src/main/java/org/jenkinsci/plugins/dockerbuildstep/cmd/KillCommand.java
          src/main/java/org/jenkinsci/plugins/dockerbuildstep/cmd/PullImageCommand.java
          src/main/java/org/jenkinsci/plugins/dockerbuildstep/cmd/RemoveCommand.java
          src/main/java/org/jenkinsci/plugins/dockerbuildstep/cmd/RestartCommand.java
          src/main/java/org/jenkinsci/plugins/dockerbuildstep/cmd/StartByImageIdCommand.java
          src/main/java/org/jenkinsci/plugins/dockerbuildstep/cmd/StartCommand.java
          src/main/java/org/jenkinsci/plugins/dockerbuildstep/cmd/StopByImageIdCommand.java
          src/main/java/org/jenkinsci/plugins/dockerbuildstep/cmd/StopCommand.java
          src/main/java/org/jenkinsci/plugins/dockerbuildstep/util/Resolver.java
          http://jenkins-ci.org/commit/docker-build-step-plugin/67761a6ec915a0eeb51a5b00fbd235c783c80e08
          Log:
          [FIXED JENKINS-23025] Expand parameters in all commands

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Vojtech Juranek Path: src/main/java/org/jenkinsci/plugins/dockerbuildstep/cmd/CommitCommand.java src/main/java/org/jenkinsci/plugins/dockerbuildstep/cmd/CreateContainerCommand.java src/main/java/org/jenkinsci/plugins/dockerbuildstep/cmd/CreateImageCommand.java src/main/java/org/jenkinsci/plugins/dockerbuildstep/cmd/KillCommand.java src/main/java/org/jenkinsci/plugins/dockerbuildstep/cmd/PullImageCommand.java src/main/java/org/jenkinsci/plugins/dockerbuildstep/cmd/RemoveCommand.java src/main/java/org/jenkinsci/plugins/dockerbuildstep/cmd/RestartCommand.java src/main/java/org/jenkinsci/plugins/dockerbuildstep/cmd/StartByImageIdCommand.java src/main/java/org/jenkinsci/plugins/dockerbuildstep/cmd/StartCommand.java src/main/java/org/jenkinsci/plugins/dockerbuildstep/cmd/StopByImageIdCommand.java src/main/java/org/jenkinsci/plugins/dockerbuildstep/cmd/StopCommand.java src/main/java/org/jenkinsci/plugins/dockerbuildstep/util/Resolver.java http://jenkins-ci.org/commit/docker-build-step-plugin/67761a6ec915a0eeb51a5b00fbd235c783c80e08 Log: [FIXED JENKINS-23025] Expand parameters in all commands

            People

            • Assignee:
              vjuranek vjuranek
              Reporter:
              mamciek Maciej Mazur
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: