Preserve State for Stage Restart
Retain stashes so a failed deployment can restart without rebuilding.
A advanced Jenkins challenge worth 20 points. Solve it hands-on in a real Jenkins environment in your browser - no local setup, no fake shells.
The Challenge
Scenario: Operators need Restart from Stage after a deployment failure, but completed-build stashes are discarded.
Requirements:
- Add
preserveStashesto Pipeline options - Retain stashes for 5 completed builds
- Keep Package producing
restart-bundle - Keep Deploy consuming that bundle without rebuilding