diff --git a/.gitlab-industrial-ci-kinetic-no-rosinstall.yml b/.gitlab-industrial-ci-kinetic-no-rosinstall.yml index 62db922c21089f0932939a0e58f0e9ce6127e186..d84c347f6c5371edc2cb40f057a07ad353bb6ef1 100644 --- a/.gitlab-industrial-ci-kinetic-no-rosinstall.yml +++ b/.gitlab-industrial-ci-kinetic-no-rosinstall.yml @@ -113,8 +113,8 @@ bash_syntax: stage: postcheck script: - RET=0 - - find . -type f -name '*.sh' -exec shellcheck -s sh {} \; - - find . -type f -name '*.bash' -exec shellcheck -s bash {} \; + - find . -type f -name '*.sh' -exec shellcheck -s sh {} + || RET=1 + - find . -type f -name '*.bash' -exec shellcheck -s bash {} + || RET=1 - exit $RET when: always tags: diff --git a/.gitlab-industrial-ci-kinetic-with-rosinstall.yml b/.gitlab-industrial-ci-kinetic-with-rosinstall.yml index 6c8904c909e126094c71c0cc164da77c7d403637..02a669a89e0d47f9497b4be125604513e9059345 100644 --- a/.gitlab-industrial-ci-kinetic-with-rosinstall.yml +++ b/.gitlab-industrial-ci-kinetic-with-rosinstall.yml @@ -115,8 +115,8 @@ bash_syntax: stage: postcheck script: - RET=0 - - find . -type f -name '*.sh' -exec shellcheck -s sh {} \; - - find . -type f -name '*.bash' -exec shellcheck -s bash {} \; + - find . -type f -name '*.sh' -exec shellcheck -s sh {} + || RET=1 + - find . -type f -name '*.bash' -exec shellcheck -s bash {} + || RET=1 - exit $RET when: always tags: