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

Multiple jobs running in parallel on the same agent using the Docker Workflow Plugin withRegistry results in overwritten credentials

      When there are multiple jobs running in parallel on the same slave the credentials get overwritten before the job finishes and it causes an authentication error.

      For example:
      Job 1 starts
      .dockercfg is written with credentialsA
      Job 2 starts
      .dockercfg is written with credentialsB
      Job 1 tries to pull image and fails because .dockercfg already contains credentialsB

          [JENKINS-48458] Multiple jobs running in parallel on the same agent using the Docker Workflow Plugin withRegistry results in overwritten credentials

          James Sweet created issue -
          Andrew Bayer made changes -
          Component/s New: docker-commons-plugin [ 20628 ]
          Component/s Original: docker-workflow-plugin [ 20625 ]
          Jesse Glick made changes -
          Link New: This issue duplicates JENKINS-38018 [ JENKINS-38018 ]

          Jesse Glick added a comment -

          The issue does not specify the version of docker-workflow being used. I suspect this is solved by my patch for JENKINS-38018, merged but as yet unreleased for some reason abayer ndeloof.

          Jesse Glick added a comment - The issue does not specify the version of docker-workflow being used. I suspect this is solved by my patch for JENKINS-38018 , merged but as yet unreleased for some reason abayer ndeloof .

          Andrew Bayer added a comment -

          Oh, nice. ndeloof - do you want to cut a release?

          Andrew Bayer added a comment - Oh, nice. ndeloof - do you want to cut a release?

          I still can't get a build to pass successfully on my laptop, so I prefer not to run a release here. Feel free to make one jglick or abayer

          Nicolas De Loof added a comment - I still can't get a build to pass successfully on my laptop, so I prefer not to run a release here. Feel free to make one  jglick or abayer
          James Dumay made changes -
          Remote Link New: This issue links to "CloudBees Internal CD-369 (Web Link)" [ 20550 ]
          Jesse Glick made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

          Jack Scotson added a comment -

          Any updates on this? Any verification the Jenkins 38018 patch resolves this?

          Jack Scotson added a comment - Any updates on this? Any verification the Jenkins 38018 patch resolves this?

            Unassigned Unassigned
            jtsweet James Sweet
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: