Jenkins Pipeline Stage Directive Label's use of variables/parameters

7 views
Skip to first unread message

Albertone, Michele (Nokia - IT/Rome)

unread,
Apr 5, 2019, 8:13:58 AM4/5/19
to jenkins...@googlegroups.com

Hi,

been looking for an answer to this on the web but could not find much.

My question is if within a stage directive within a pipeline I could use a variable or parameter inside the label.

For instance within a:

 

        stage('Stage 3 - Test Execution') {

            steps {

                echo 'Executing VoLTE'

 

is there any way to add to 'Stage 3 - Test Execution' a variable which may be set initially within the pipeline code ?

 

Thanks in advance!

 

Mike

 

Michele Albertone

Reply all
Reply to author
Forward
0 new messages