TransWikia.com

Jenkins : How to get the name of each "stage" within a parallel block?

DevOps Asked by JiElPe-Fr38 on December 29, 2020

If I have :

parallel(
 label1:{ <do something> },
 label2:{ <do something else> }
)

How could I get the "stage" name (i.e. label1 or label2) in each of them ?
For sure, I don’t want to "hard code" the stage name.
But, I have not found a jenkins var or perhaps is there some method ?

Thanks for your help

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP