From: Anton Maklakov Date: Thu, 20 Jul 2017 08:46:30 +0000 (+0800) Subject: CI: Make the list of examples permanent between jobs X-Git-Tag: v3.1-dev~448^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=341cc8221cd12edd254a451189d589d59f67a1fe;p=esp-idf CI: Make the list of examples permanent between jobs Because the results of the 'find' command are not sorted by name. --- diff --git a/tools/ci/build_examples.sh b/tools/ci/build_examples.sh index 14a8e9b425..65b82160fe 100755 --- a/tools/ci/build_examples.sh +++ b/tools/ci/build_examples.sh @@ -134,7 +134,7 @@ build_example () { EXAMPLE_NUM=0 -find ${IDF_PATH}/examples/ -type f -name Makefile | \ +find ${IDF_PATH}/examples/ -type f -name Makefile | sort | \ while read FN do if [[ $EXAMPLE_NUM -lt $START_NUM || $EXAMPLE_NUM -ge $END_NUM ]]