diff --git a/.circleci/config.yml b/.circleci/config.yml index 12b64804f..eb9ddefd1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -145,7 +145,11 @@ jobs: for PKG in $PKGS ; do echo_blue "===+ Building: $PKG" - make "package/$PKG/compile" -j3 V=s + make "package/$PKG/compile" -j3 V=s || { + RET=$? + echo_red "===+ Building: $PKG failed, rebuilding with -j1 for human readable error log" + make "package/$PKG/compile" -j1 V=s; exit $RET + } done - store_artifacts: