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

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

    XMLWordPrintable

Details

    • New Feature
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • promoted-builds-plugin
    • None
    • Jenkins 2.7
      Promoted Plugin 2.27

    Description

      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.

      Attachments

        Activity

          gregcovertsmith Greg Smith created issue -
          rtyler R. Tyler Croy made changes -
          Field Original Value New Value
          Workflow JNJira [ 171667 ] JNJira + In-Review [ 184395 ]
          oleg_nenashev Oleg Nenashev made changes -
          Epic Link JENKINS-36089 [ 172050 ]
          oleg_nenashev Oleg Nenashev made changes -
          Assignee Oleg Nenashev [ oleg_nenashev ]

          People

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

            Dates

              Created:
              Updated: