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

Pipeline support for Promoted Builds Plugin

    XMLWordPrintable

    Details

    • Epic Name:
      Pipeline support for Promoted Builds Plugin
    • Similar Issues:

      Description

      This enhancement request is for the Promoted Builds plugin to support Jenkins' 2.X style Pipelines.

      Pipelines are the new paradigm that Jenkins 2.X is promoting heavily – with its ability to define the build process in code, automatic build discovery, and great integration with repository systems for automatic build / testing of pull requests.

      There are many places within the new Pipeline style where the Promoted Plugin could be used to great effect:

      • builds could dynamically https://issues.jenkins-ci.org/browse/JENKINS-36089#promote and save artifacts, pushing them into other pipeline jobs
      • Users could manually promote pipeline builds that have been through some kind of QA process
      • Permalinks provided by the Promoted Builds plugin could be used in pipeline builds

      Basically, the same vast number of use cases that the Promoted Build Plugin provides today could be taken advantage of by builds defined via the Pipeline API and Jenkinsfile build definitions.

      Reference here for the API changes that are required for a plugin to be available in a Pipeline build:
      https://github.com/jenkinsci/pipeline-plugin/blob/master/COMPATIBILITY.md

      Original reference bug:
      https://issues.jenkins-ci.org/browse/JENKINS-35376

        Attachments

          Issue Links

            Activity

            Hide
            issac1993 Daniel Issac added a comment -

            Any updates?We have freestyle jobs which use this promotion criterias due to which we are not able to convert these jobs to pipeline.Any idea by when we can expect this feature in pipeline.?

            Show
            issac1993 Daniel Issac added a comment - Any updates?We have freestyle jobs which use this promotion criterias due to which we are not able to convert these jobs to pipeline.Any idea by when we can expect this feature in pipeline.?
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Daniel Issac nothing shippable unfortunately, no ETA. With COVID-19 I was unable to do real development for a while, and I have a huge queue of items to catch up. I do not expect to get to it this summer, but other contributors might contribute. Any patches are welcome

            Show
            oleg_nenashev Oleg Nenashev added a comment - Daniel Issac nothing shippable unfortunately, no ETA. With COVID-19 I was unable to do real development for a while, and I have a huge queue of items to catch up. I do not expect to get to it this summer, but other contributors might contribute. Any patches are welcome
            Hide
            amitrl Amit Lakhtaria added a comment -

            Hi Guys.. 

            How I can use this plugin with Multibranch pipeline?

            Multibranch pipeline uses Jenkinsfile and I am not sure how can I integrate this plugin to promote?

            Any help is appreciated. Thanks.

            Show
            amitrl Amit Lakhtaria added a comment - Hi Guys..  How I can use this plugin with Multibranch pipeline? Multibranch pipeline uses Jenkinsfile and I am not sure how can I integrate this plugin to promote? Any help is appreciated. Thanks.
            Hide
            silentsnowman Nathan Grubb added a comment -

            Amit Lakhtaria you can't until this epic is complete. This would be very helpful for my team so I'm thinking of taking a stab at this. Do you think I could get your help/guidance Oleg Nenashev?

            Show
            silentsnowman Nathan Grubb added a comment - Amit Lakhtaria you can't until this epic is complete. This would be very helpful for my team so I'm thinking of taking a stab at this. Do you think I could get your help/guidance  Oleg Nenashev ?
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Nathan Grubb with my current assignments at work and personal situation, it is unlikely that I will be able to seriously work on that anytime soon. I might find some time to answer questions if someone wants to implement it

            Show
            oleg_nenashev Oleg Nenashev added a comment - Nathan Grubb with my current assignments at work and personal situation, it is unlikely that I will be able to seriously work on that anytime soon. I might find some time to answer questions if someone wants to implement it

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              gregcovertsmith Greg Smith
              Votes:
              143 Vote for this issue
              Watchers:
              159 Start watching this issue

                Dates

                Created:
                Updated: