Docker and CI/CD · Junior · Question 52 of 75

What happens by default when a step in a 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.

Further reading

Problem with a question

Docker and CI/CD · Junior · question 52

Test yourself

Take the Docker and CI/CD · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz