Timeline for Jenkins Declarative pipeline: Execute stage conditional on execution of previous stage
Current License: CC BY-SA 4.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 15, 2019 at 17:12 | history | became hot network question | |||
| Nov 15, 2019 at 10:20 | vote | accept | Bruce Becker | ||
| Nov 15, 2019 at 9:50 | comment | added | Bruce Becker | The issue is only that I can't predict whether the condition will be satisfied in Stage 2. I don't want to set up conditions based on the commit or message, but on the state of stages in the pipeline. Sequential execution is fine, but some stages should be skipped in some cases. | |
| Nov 15, 2019 at 9:33 | answer | added | Hedi Nasr | timeline score: 7 | |
| Nov 15, 2019 at 9:27 | comment | added | 030 | Could you explain what is going wrong? What I see on a daily basis is that if one uses stage that they are executed sequentially and the next stage will be started if the former has been completed, unless if parallel is enabled. | |
| Nov 15, 2019 at 9:10 | history | asked | Bruce Becker | CC BY-SA 4.0 |