[JIRA] (JENKINS-47129) Executing multiple declaritive pipelines into a scripted pipeline is not possible anymore

2 views
Skip to first unread message

chantivlad@yahoo.fr (JIRA)

unread,
Sep 18, 2018, 11:35:02 AM9/18/18
to jenkinsc...@googlegroups.com
chanti vlad commented on Bug JENKINS-47129
 
Re: Executing multiple declaritive pipelines into a scripted pipeline is not possible anymore

Hi Andrew Bayer , roel postelmans and Abhishek Mukherjee,

i am facing the exact same problem, where i was hoping to have the following set up:

  • git repo A stores all generic Jenkins pipelines, which need specific env variables to be parameterized
  • git repo B has a Jenkinsfile that gets executed pre merge on changes in the repo B. This Jenkinsfile would do some things, and then clone the repo A, set the env variable properly, load a Jenkinsfile from A and run it as "sub pipeline".

Do i understand you correctly that the best way to do this is to have the generic part in repo A as scripted and not delcarative ?

If yes, why this limitation?

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

chantivlad@yahoo.fr (JIRA)

unread,
Sep 18, 2018, 11:36:02 AM9/18/18
to jenkinsc...@googlegroups.com
chanti vlad edited a comment on Bug JENKINS-47129
Hi [~abayer] , [~roel0] and [~abhishekmukherg],


i am facing the exact same problem, where i was hoping to have the following set up:
* git repo A stores all generic Jenkins pipelines, which need specific env variables to be parameterized
* git repo B has a Jenkinsfile that gets executed pre merge on changes in the repo B. This Jenkinsfile would do some things, and then clone the repo A, set the env variable properly, load a Jenkinsfile from A and run it as "sub pipeline".

Do i understand you correctly that the best way to do this is to have the generic part in repo A as scripted and not
delcarative declarative ?


If yes, why this limitation?

 

bitwiseman@gmail.com (JIRA)

unread,
Oct 22, 2019, 11:24:48 PM10/22/19
to jenkinsc...@googlegroups.com
Liam Newman closed an issue as Not A Defect
 

Bulk closing resolved issues.

Jenkins / Bug JENKINS-47129
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