Skip to content
Snippets Groups Projects
Commit 43d3513e authored by Jon Azpiazu's avatar Jon Azpiazu
Browse files

Fixes in the job returning code

parent 3eed0b96
No related branches found
No related tags found
1 merge request!51Resolve "Improve script checking"
Pipeline #34019 passed
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment