lax1089
lax1089

Reputation: 3473

Jenkins - how to resume pipeline from failure point

I have a rather lengthy Jenkins pipeline that will sometimes fail for various reasons like a box running out of disk space, network issues, etc.

I would like to be able to manually resume the pipeline from the point that it previously failed and have it run all subsequent jobs in that pipeline as well. Currently, to accomplish this I have to individually run the steps which is rather time-consuming. Restarting the entire pipeline would be extremely time-consuming.

For example, in the below pipeline I failed at Run L1 Batch step. I would like to be able to have the pipeline start from the Run L1 Batch step, then Run TB Maint, and finally Run JUnit/Jacoco without manually running these individually in that sequence:

Jenkins Pipeline Failure

Does anyone know of a Jenkins plugin that allows you to resume pipeline execution from a specific point?

Upvotes: 1

Views: 4821

Answers (1)

Joerg S
Joerg S

Reputation: 5149

Maybe the new feature to restart stages would help?

https://issues.jenkins-ci.org/browse/JENKINS-45455

Upvotes: 1

Related Questions