Re: Can pipelines and stages be nested in a dependency graph? Or is there a better alternative.

2021-02-20 Thread Björn Rohlén
... or just use global libraries. 

On Friday, 19 February 2021 at 20:26:36 UTC+1 Anil wrote:

> okay I will try and simulate it by using global variables that the script 
> can access.
> thanks for your reply
>
> On Friday, February 12, 2021 at 3:01:42 PM UTC-6 Martin Schmude wrote:
>
>> No, pipeline scripts cannot be nested.
>>
>>
>> Anil schrieb am Donnerstag, 11. Februar 2021 um 16:58:20 UTC+1:
>>
>>> 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.
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/3fd42428-697c-4b14-8afb-428422ebc0b4n%40googlegroups.com.


Re: Can pipelines and stages be nested in a dependency graph? Or is there a better alternative.

2021-02-19 Thread Anil
okay I will try and simulate it by using global variables that the script 
can access.
thanks for your reply

On Friday, February 12, 2021 at 3:01:42 PM UTC-6 Martin Schmude wrote:

> No, pipeline scripts cannot be nested.
>
>
> Anil schrieb am Donnerstag, 11. Februar 2021 um 16:58:20 UTC+1:
>
>> 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.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/a4a1e474-5cdd-407e-bf61-ea6e88d85379n%40googlegroups.com.


Re: Can pipelines and stages be nested in a dependency graph? Or is there a better alternative.

2021-02-12 Thread 'Martin Schmude' via Jenkins Users
No, pipeline scripts cannot be nested.


Anil schrieb am Donnerstag, 11. Februar 2021 um 16:58:20 UTC+1:

> 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.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/f507a1bc-26c0-46a3-956b-19bbd8c9af0cn%40googlegroups.com.


Can pipelines and stages be nested in a dependency graph? Or is there a better alternative.

2021-02-11 Thread Anil
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.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/96d897cf-35f5-4069-a994-b31396b4eea8n%40googlegroups.com.