[JIRA] (JENKINS-42158) Allow for multiple declarative pipelines in a single file

4 views
Skip to first unread message

mmitche@microsoft.com (JIRA)

unread,
Feb 17, 2017, 2:13:01 PM2/17/17
to jenkinsc...@googlegroups.com
Matthew Mitchell created an issue
 
Jenkins / Improvement JENKINS-42158
Allow for multiple declarative pipelines in a single file
Issue Type: Improvement Improvement
Assignee: Andrew Bayer
Components: pipeline-model-definition-plugin
Created: 2017/Feb/17 7:12 PM
Labels: pipeline
Priority: Major Major
Reporter: Matthew Mitchell

It would be fantastic to somehow allow a single Jenkinsfile with the declarative pipeline model to have multiple pipelines in it (today this appears to work somewhat).

This would mean you could define independent units of work in a single file and not rely on some external mechanism. This would also allow for separate sets of triggers for each section of the pipeline. This would mean scenarios like:

1) Run this pipeline nightly, but this pipeline daily
2) Trigger this scenario on X comment on GitHub, but this other scenario on Y

Would be possible. We have huge matrices of testing and need to be able to select the workload

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

mmitche@microsoft.com (JIRA)

unread,
Mar 21, 2017, 12:42:01 PM3/21/17
to jenkinsc...@googlegroups.com
Matthew Mitchell commented on Improvement JENKINS-42158
 
Re: Allow for multiple declarative pipelines in a single file

Even better would be if the Multibranch pipelines allowed for specifying a pattern by which declarative pipeline files could be picked up. This would allow interesting scenarios like being able to alter triggers and add new pipeline files in a single PR.

This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)
Atlassian logo

bitwiseman@gmail.com (JIRA)

unread,
Oct 22, 2019, 11:24:38 PM10/22/19
to jenkinsc...@googlegroups.com
Liam Newman closed an issue as Won't Fix
 

Bulk closing resolved issues.

Change By: Liam Newman
Status: Resolved Closed
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages