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

Add new template build step should be able to update template

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Trivial Trivial
    • docker-plugin
    • None

      At present, the "Add a new template to all docker clouds" build step silently skips any cloud which already has a template based on the specified image.

      What I'd like is the ability to update the template.
      i.e. have a Jenkins build which first built a new docker image (using the "Build / Publish Docker Containers" build step) and then updates the docker cloud templates to use it.
      (it would also be nice to be able to be more selective about which clouds the template was applied to...)

      This would mean that it would be necessary to use something other than "Docker Image" as a means of identifying which template to replace, because a primary use case here is to "stop using myimage:oldversion and use myimage:newversion instead".
      (and you can't use labels because that's also something one is likely to want to update too).

          [JENKINS-39105] Add new template build step should be able to update template

          pjdarton created issue -
          Nicolas De Loof made changes -
          Assignee Original: magnayn [ magnayn ] New: Nicolas De Loof [ ndeloof ]
          pjdarton made changes -
          Assignee Original: Nicolas De Loof [ ndeloof ]
          Resolution New: Won't Do [ 10001 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            Unassigned Unassigned
            pjdarton pjdarton
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: