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

Attempts to tag with "c" cause "Multiple IDs found with provided prefix"

XMLWordPrintable

      This is a funny one. One of our jenkins jobs is hitting this intermittently, I can't see an obvious cause.

      It appears that the build and publish plugin is trying to tag the docker image id "c" with our image tag. Docker doesn't like this (because there is more than one image matching c*) and complains:

      Successfully built 9ed7fb84ebda
      [mydockerimage] $ docker tag --force=true c myregistry/mydockerimage:latest
      time="2015-06-09T10:50:50+01:00" level=fatal msg="Error response from daemon: could not find image: Multiple IDs found with provided prefix" 
      

      I did originally have the plugin set up to tag as "latest" (explicitly set) with the latest tag option disabled. Switching this round (setting this to null and enabling tag as latest) appears to have fixed the issue. However, given the fact that this exact config succeeded on multiple occasions, I'm not convinced that this is actually a fix.

            csanchez Carlos Sanchez
            andy Andy Smith
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: