Docker and CI/CD · Junior · Question 52 of 75
What happens by default when a step in a job fails?
- 1The step is retried three times automatically
- 2The job continues and only reports a warning
- ✓Correct answer: The remaining steps are skipped and the job fails
Explanation
A non-zero exit code fails the step. continue-on-error or if: always() change this, for example to upload test reports even after failures.