diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4693fc325f..097d9c01cd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -802,7 +802,7 @@ check_pipeline_triggered_by_label: script: # If the pipeline is triggered with label, the pipeline will only succeeded if "regular_test" label is added. # We want to make sure some jobs are always executed to detect regression. - - test "$BOT_LABEL_REGULAR_TEST" = "true" || exit -1 + - test "$BOT_LABEL_REGULAR_TEST" = "true" || { echo "CI can only pass if 'regular_test' label is included"; exit -1; } assign_test: tags: