Rolling back a bad pipeline change went from about 4 hours to 2 minutes.
Role
Tech lead
Team
Team of 6
Company
Ford Motor Company
Stack
Python
Jenkins
CI/CD
Context
Pipelines had grown as freestyle Jenkins jobs, each edited in place. That made changes hard to version, review, and undo. We replaced them with a config-driven orchestration system that treats the pipeline as software.
Constraints
Existing programs had to keep building while the framework replaced the jobs.
A bad change must be reversible quickly and without a specialist.
Disclosure is abstract: no repository, service, or host names.
Architecture
01Build configs
02Framework
03Pipeline run
04Rollback
Versioned independently
Automated rollback to a previous version
Generic release model. Labels are illustrative.
What I built
A config-driven orchestration system that replaced freestyle Jenkins jobs.
Independent releases and versions for the framework and for the build configs, so one can change without the other.
Automated rollback that returns a program to its last good version.
Led a team of 6 through the design, rollout, and migration.
Results
was ~4 h →
2 min
Pipeline rollback, 99% faster
What I'd do next
I would add a staged rollout for config changes, so a new version reaches one program first and promotes only after its builds pass, instead of landing everywhere at once.