Commit 43d3513e authored by Jon Azpiazu's avatar Jon Azpiazu
Browse files

Fixes in the job returning code

parent 3eed0b96
Pipeline #34019 passed with stage
in 14 seconds
......@@ -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:
......
......@@ -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:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment