Linked Questions

Popular Questions

Jenkins-pipeline conditional stages

Asked by At

We have a Jenkins scheduled build at 12Am, 3am, 6am, 9am, 12pm and 3pm. And having multiple stages in pipeline. For example A, B, C, D. I want to run a set of code in stage B only at 3AM build. In rest of the builds the stage should skip the code. How can I do that?

Related Questions