hi Jenkins team,
I would want to know is there any way to run 2 declarative pipelines using parallel construct ?
parallel (
"stream 1" : { ... things ... },
"stream 2" : { ... things in parallel ... }
)
This syntax can only use "node" but cannot use "pipeline". Like below
(1) parallel (
"stream 1" : {
node .......
},
"stream 2" : {
node .......
}
)
(2) parallel (
"stream 1" : {
pipeline.......
},
"stream 2" : {
pipeline.......
}
)
(1) is working fine (2) is not working. My requirement is to use (2). Because, post build actions(success/failure/abort etc) are supported in only (2) not (1)
In (1) i don't want to include exception handling logic (try / catch) in (1).
Please assist.