Skip to content

[JENKINS-36089] Pipeline support for Promoted Builds Plugin #609

Description

@jenkins-infra-bot

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


Originally reported by gregcovertsmith, imported from: Pipeline support for Promoted Builds Plugin
  • status: Open
  • priority: Major
  • component(s): promoted-builds-plugin
  • label(s): gsoc-2019-project-idea, gsoc2019-artifact-promotion-in-pipeline, pipeline, roadmap
  • resolution: Unresolved
  • votes: 154
  • watchers: 169
  • imported: 2025-12-07
Raw content of original issue

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

Metadata

Metadata

Assignees

No one assigned

    Type

    Fields

    No fields configured for Epic.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions