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

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

    Details

    • Type: New Feature
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: promoted-builds-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.7
      Promoted Plugin 2.27
    • Similar Issues:

      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

          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Currently the plugin does not support Pipeline at all.
          So the fix is significantly bigger then just a support of a single property

          Show
          oleg_nenashev Oleg Nenashev added a comment - Currently the plugin does not support Pipeline at all. So the fix is significantly bigger then just a support of a single property
          Hide
          gregcovertsmith Greg Smith added a comment -

          Would it be useful to create a "support pipeline" enhancement request? I didn't see one in Jira – and yeah, that's not a small thing.

          Show
          gregcovertsmith Greg Smith added a comment - Would it be useful to create a "support pipeline" enhancement request? I didn't see one in Jira – and yeah, that's not a small thing.
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Yes, no such task IIRC. Makes sense to create it, describe use-cases and then add a reference to https://github.com/jenkinsci/pipeline-plugin/blob/master/COMPATIBILITY.md

          Show
          oleg_nenashev Oleg Nenashev added a comment - Yes, no such task IIRC. Makes sense to create it, describe use-cases and then add a reference to https://github.com/jenkinsci/pipeline-plugin/blob/master/COMPATIBILITY.md

            People

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

              Dates

              • Created:
                Updated: