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

Support "Set Job Properties" for Promotion in MultiBranch Pipeline jobs

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Major Major
    • promoted-builds-plugin
    • None
    • Jenkins 2.7
      Promoted Plugin 2.27

      One of our most common use cases in Jenkins 1.X was to setup projects so that they could be manually promoted, and in the case of that promotion, we would:

      • Set the artifacts to be saved forever.
      • The artifacts would be sent as an input to a follow on build to be deployed.

      We are now trying to move to a fully Pipeline'ized build system, with Jenkinsfiles in our projects, but can not find a real substitute for this functionality. Pipelines allow user input, but its not really the same of what we got with the Promotion Plugin.

      Looking at the APIs available in the snippet generator, the most logical place (I see) for configuring promotion settings would seem to be the "Set job properties" – if we could configure promotion via this step / API, that would work really well I think to be able to emulate the functionality we had with freeform projects.

            Unassigned Unassigned
            gregcovertsmith Greg Smith
            Votes:
            5 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: