mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-11 15:15:26 +01:00
Merge pull request #302 from saito-hideki/issue/301
[CI] Fix exit code in CI entrypoint to address shellckeck issue SUMMARY Fix wrong exit code -1 in CI entrypoint to address shellcheck failure: Fixes #301 ISSUE TYPE CI tests Pull Request COMPONENT NAME tests/utils/shippable/shippable.sh ADDITIONAL INFORMATION None Reviewed-by: None <None>
This commit is contained in:
commit
16436f4f55
2 changed files with 4 additions and 1 deletions
3
changelogs/fragments/302_shippable_exit_code.yml
Normal file
3
changelogs/fragments/302_shippable_exit_code.yml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
trivial:
|
||||
- CI tests - fix exit code to address shellckeck test issue (https://github.com/ansible-collections/ansible.posix/issues/301).
|
||||
|
|
@ -50,7 +50,7 @@ function retry
|
|||
echo "@* -> ${result}"
|
||||
done
|
||||
echo "Command '@*' failed 3 times!"
|
||||
exit -1
|
||||
exit 255
|
||||
}
|
||||
|
||||
command -v pip
|
||||
|
|
|
|||
Loading…
Reference in a new issue