I have some validations on the post-checkout hook that exit with a non-zero code in case of issues. This makes the pre-exit hook unnecessary for me as none of the commands will be run. What is the best way to stop execution after the post-checkout validation errors?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Post-command fails without much information | 5 | 99 | July 29, 2024 | |
Conditioning a step on the EXIT_CODE of the previous step | 5 | 3282 | January 5, 2021 | |
Pre-pipeline / post-pipeline hooks for job lifecycle | 12 | 2018 | August 16, 2023 | |
Skipping a step from a plugin hook? | 3 | 104 | October 25, 2024 | |
Post fail command script? | 1 | 313 | April 22, 2023 |