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

Support for promoted build plugin to promote images

    XMLWordPrintable

Details

    Description

      We're trying to use the Docker Build and Publish plugin in conjunction with the Promoted builds plugin. We continuously integrate and build an image for each commit.

      We then want the option to "promote" an image for release. This will involve tagging the release with our release version.

      The git plugin provide an environment variable for this (PROMOTED_GIT_COMMIT), it would be incredibly useful for us if this plugin provided the image id (PROMOTED_DOCKER_IMAGEID).

      I'm not quite sure how this would be done but I did find the part of the promoted builds plugin that appears to take PROMOTED_GIT_COMMIT: https://github.com/jenkinsci/promoted-builds-plugin/blob/726f7a0966f54c796e6e36aca8be58f1833a15c3/src/main/java/hudson/plugins/promoted_builds/Promotion.java#L119

      Attachments

        Activity

          sentinel John Travolta added a comment -

          Voting for this issue. Would be a nice feature.

          sentinel John Travolta added a comment - Voting for this issue. Would be a nice feature.

          People

            csanchez Carlos Sanchez
            andy Andy Smith
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: