In the context of pipeline as code, as an user, I have a lot of Jenkinsfile everywhere in my repositories and branches.
- The developers that deal with them as not necessarily familar with Jenkins, so those files should be high-level and understandable to those who don't know Jenkins.
- As an admin of Jenkins, I want to keep those files DRY by defining higher-level custom idioms
- As an intermediate user of Jenkins, I want to reuse building blocks of workflow that other knowledgeable people in the Jenkins community has developed.
Workflow plugin has one mechanism that touches (some of) this use case today, but it still need more improvements. Also, conversations with other Jenkins devs indicate that many want additional mechanisms to refer to reusable modules, and some has already developed additional plugins to do that.
As the Jenkins community, we need to build a small set of mechanisms to achieve 80% of these goals, while enabling other people to write plugins that support more unique use cases.
This ticket is a part of the 2.0 planning ticket to drive conversations about this and link to relevant activities.
|Workflow||JNJira [ 166335 ]||JNJira + In-Review [ 182357 ]|
|Status||Open [ 1 ]||In Progress [ 3 ]|
|Assignee||Jesse Glick [ jglick ]|
|Remote Link||This issue links to "workflow-cps-global-lib PR 10 (Web Link)" [ 14716 ]|
|Labels||2.0-rejected blueocean||2.0-rejected blueocean x-team|
|Status||In Progress [ 3 ]||In Review [ 10005 ]|
|Assignee||Jesse Glick [ jglick ]||Mike Kobit [ mkobit ]|
|Assignee||Mike Kobit [ mkobit ]||Jesse Glick [ jglick ]|
|Component/s||pipeline-general [ 21692 ]|
|Component/s||workflow-plugin [ 18820 ]|
|Component/s||workflow-cps-global-lib-plugin [ 21714 ]|
|Component/s||pipeline [ 21692 ]|
|Remote Link||This issue links to "git PR 433 (Web Link)" [ 14801 ]|
|Remote Link||This issue links to "subversion PR 168 (Web Link)" [ 14802 ]|
|Remote Link||This issue links to "scm-api PR 12 (Web Link)" [ 14803 ]|
|Remote Link||This issue links to "github-branch-source PR 72 (Web Link)" [ 14804 ]|
|Remote Link||This issue links to "github-organization-folder PR 22 (Web Link)" [ 14805 ]|
|Remote Link||This issue links to "workflow-cps PR 45 (Web Link)" [ 14806 ]|
|Remote Link||This issue links to "workflow-api PR 11 (Web Link)" [ 14807 ]|
|Remote Link||This issue links to "workflow-cps-global-lib PR 14 (Web Link)" [ 14814 ]|
|Resolution||Fixed [ 1 ]|
|Status||In Review [ 10005 ]||Resolved [ 5 ]|
|Comment||[ Is the change backward compatible? If I upgrade would workflowLibs.git still work or do I need to change it to use library step? ]|
|Status||Resolved [ 5 ]||Closed [ 6 ]|