diff --git a/changelogs/fragments/302_shippable_exit_code.yml b/changelogs/fragments/302_shippable_exit_code.yml new file mode 100644 index 0000000..d1dae9b --- /dev/null +++ b/changelogs/fragments/302_shippable_exit_code.yml @@ -0,0 +1,3 @@ +--- +trivial: +- CI tests - fix exit code to address shellckeck test issue (https://github.com/ansible-collections/ansible.posix/issues/301). diff --git a/tests/utils/shippable/shippable.sh b/tests/utils/shippable/shippable.sh index 3a56ac6..14f2e57 100755 --- a/tests/utils/shippable/shippable.sh +++ b/tests/utils/shippable/shippable.sh @@ -50,7 +50,7 @@ function retry echo "@* -> ${result}" done echo "Command '@*' failed 3 times!" - exit -1 + exit 255 } command -v pip