AnswerBun.com

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

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

DevOps Asked by JiElPe-Fr38 on December 29, 2020

0 Answers

Add your own answers!

Related Questions

Gitlab CI push to docker-registry fails

1  Asked on November 22, 2021 by sachith-muhandiram

       

Passing replicas number into container

4  Asked on November 20, 2021

   

jenkins – gitparam jobdsl – branchFilter

1  Asked on November 15, 2021 by joudaon

   

Logging & Monitoring on multiple servers

1  Asked on November 12, 2021 by aivanf

     

Releasing so many changes at once to production

1  Asked on November 7, 2021 by astroanu

 

What is a reasonable level of coding expertise expected of an SRE?

3  Asked on August 22, 2021 by codeforester

   

What’s in THIS environment?

1  Asked on August 22, 2021 by davetx

       

auto delete aws S3 backups

1  Asked on August 22, 2021 by scott-stensland

 

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved.