Stop the build if CANDIDATE_BUILD_NUMBER is not set.