mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 03:34:32 +02:00
ci: Print an error in the log if the label check fails
One less step for a developer to figure out why this failed.
This commit is contained in:
committed by
Angus Gratton
parent
710bcbd447
commit
3bfb0d86e3
@@ -804,7 +804,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:
|
||||
|
Reference in New Issue
Block a user