diff --git a/tools/ci/build_examples_cmake.sh b/tools/ci/build_examples_cmake.sh index 25717f43a3..a392c56cd5 100755 --- a/tools/ci/build_examples_cmake.sh +++ b/tools/ci/build_examples_cmake.sh @@ -143,7 +143,7 @@ build_example () { else rm -rf build && ./build.sh >>${BUILDLOG} 2>&1 - fi && + fi || { RESULT=$?; FAILED_EXAMPLES+=" ${EXAMPLE_NAME}" ; }