... 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/3fd42428-697c-4b14-8afb-428422ebc0b4n%40googlegroups.com.
