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

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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

        Attachments

          Issue Links

            Activity

            Hide
            jglick 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 Andrew Bayer Nicolas De Loof.

            Show
            jglick 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 Andrew Bayer Nicolas De Loof .
            Hide
            abayer Andrew Bayer added a comment -

            Oh, nice. Nicolas De Loof - do you want to cut a release?

            Show
            abayer Andrew Bayer added a comment - Oh, nice. Nicolas De Loof - do you want to cut a release?
            Hide
            ndeloof 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 Jesse Glick or Andrew Bayer

            Show
            ndeloof 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  Jesse Glick or Andrew Bayer
            Hide
            jack_scotson Jack Scotson added a comment -

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

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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: