Techiio-author
Started by Lidig TinilaloOct 7, 2021

Open
skip other pipeline stages when executing a specific stage

5 VIEWES 0 LIKES 0 DISLIKES SHARE
0 LIKES 0 DISLIKES 5 VIEWES SHARE

I have a declarative pipeline jenkinsfile, in which I have 4 stages. I would like to make so that whenever a specific stage executes(this stage is conditional therefor it will not always execute), all stages after this one are skipped. For example purposes let's say that this stage is the first stage. Does anyone knows a way to do it in a declarative pipeline?

0 Replies

You must be Logged in to reply
Techiio-logo

Techiio is on the journey to build an ocean of technical knowledge, scouring the emerging stars in process and proffering them to the corporate world.

Follow us on:

Subscribe to get latest updates

You can unsubscribe anytime from getting updates from us
Developed and maintained by Wikiance
Developed and maintained by Wikiance