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

          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

          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: