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

      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

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

              Created:
              Updated:
              Resolved: