Files

Jenkins staging failure drill

The live controller runs this Pipeline on the restricted Chapter 6 agent. Its two sudo entries permit only the literal arguments fail and restore to the root-owned wrapper at /opt/chapter6-tools/staging-drill. The root-owned deployment record is fixed to v1 staging. The failure stage uses the ordinary Ansible playbook with the wrong-port template from this directory. Exit 42 means Ansible rejected the unhealthy staging container as expected. The Pipeline records FAILURE and its post action restores and verifies the original v1 staging deployment.

Observed Jenkins drill #1. The checkout does not install any sudo rules. Coordinate with the controller owner for grader access to the archived failure and recovery logs.