Merge branch 'ci/print_error_label_check' into 'master'

ci: Print an error in the log if the label check fails

See merge request idf/esp-idf!4485
This commit is contained in:
Angus Gratton 2019-03-14 11:37:20 +08:00
commit d6a2590e40

View File

@ -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: