Groups
Groups
Sign in
Groups
Groups
Jenkins Users
Conversations
About
Send feedback
Help
Can pipelines and stages be nested in a dependency graph? Or is there a better alternative.
41 views
Skip to first unread message
Anil
unread,
Feb 11, 2021, 10:58:20 AM
2/11/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jenkins Users
I have a number of tasks and some are dependent on others for completion.
If task A is dependent on tasks B and C completing, then B and C will be child tasks of A.
It is also possible that task D is dependent on task B and then we have a DAG.
So they will form a dependency graph (Directed Acyclic Graph)
Can I have a pipeline script with nested pipelines and jobs?
Or is there a better alternative.
Martin Schmude
unread,
Feb 12, 2021, 4:01:42 PM
2/12/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jenkins Users
No, pipeline scripts cannot be nested.
Anil
unread,
Feb 19, 2021, 2:26:36 PM
2/19/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jenkins Users
okay I will try and simulate it by using global variables that the script can access.
thanks for your reply
Björn Rohlén
unread,
Feb 20, 2021, 11:13:40 AM
2/20/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jenkins Users
... or just use global libraries.
Reply all
Reply to author
Forward
0 new messages