Introduction
The failing fast principle helps catch errors early in a process so you don't waste time on steps that will fail later. In Jenkins, it means stopping a build as soon as a problem is found to save resources and fix issues quickly.
When you want to stop a build immediately if a test fails to save time.
When you want to avoid running deployment steps if the build or tests fail.
When you want quick feedback on code changes to fix errors faster.
When you want to reduce resource use by not running unnecessary steps after failure.
When you want to keep your pipeline clean by not continuing with broken code.