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 ]
          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 ]

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

              Created:
              Updated:
              Resolved: