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

[docker-build-publish-plugin] Skip Build and tag as latest not working

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed

    Description

      Using the docker-build-publish:1.0.1 does not force the tag latest as it should when Skip Build is checked.

      [listener] $ docker tag ***.net/***/listener ***.net/***/listener:1.0.3
      [listener] $ docker tag ***.net/***/listener ***.net/***/listener:latest
      Error response from daemon: Conflict: Tag latest is already set to image 3fc347(...), if you want to replace it, please use -f option
      Build step 'Docker Build and Publish' marked build as failure
      

      Other jobs, that indeed build the image, do not have this issue.

      Attachments

        Activity

          rsilva4 Ruben Silva created issue -
          csanchez Carlos Sanchez made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          csanchez Carlos Sanchez made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 165897 ] JNJira + In-Review [ 209288 ]

          People

            csanchez Carlos Sanchez
            rsilva4 Ruben Silva
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: