When checked, the Jenkins build is marked as failed if the agent process exits with a non-zero exit code. When unchecked, a non-zero exit code is logged but the build continues.