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
Branches
No related tags found
No related merge requests found
...@@ -113,8 +113,8 @@ bash_syntax: ...@@ -113,8 +113,8 @@ bash_syntax:
stage: postcheck stage: postcheck
script: script:
- RET=0 - RET=0
- find . -type f -name '*.sh' -exec shellcheck -s sh {} \; - find . -type f -name '*.sh' -exec shellcheck -s sh {} + || RET=1
- find . -type f -name '*.bash' -exec shellcheck -s bash {} \; - find . -type f -name '*.bash' -exec shellcheck -s bash {} + || RET=1
- exit $RET - exit $RET
when: always when: always
tags: tags:
......
...@@ -115,8 +115,8 @@ bash_syntax: ...@@ -115,8 +115,8 @@ bash_syntax:
stage: postcheck stage: postcheck
script: script:
- RET=0 - RET=0
- find . -type f -name '*.sh' -exec shellcheck -s sh {} \; - find . -type f -name '*.sh' -exec shellcheck -s sh {} + || RET=1
- find . -type f -name '*.bash' -exec shellcheck -s bash {} \; - find . -type f -name '*.bash' -exec shellcheck -s bash {} + || RET=1
- exit $RET - exit $RET
when: always when: always
tags: tags:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment