mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
bash syntax check: gotta return 0 for the job to be flagged as failure
This commit is contained in:
parent
f3518f7dc6
commit
22d703cb48
1 changed files with 3 additions and 1 deletions
|
@ -32,7 +32,9 @@ _STUFF_TO_RUN_BEFORE_INITIAL_SNAPSHOT() {
|
||||||
log_report_test_success
|
log_report_test_success
|
||||||
else
|
else
|
||||||
echo "{'level': 0}" >$result_json
|
echo "{'level': 0}" >$result_json
|
||||||
log_critical "Obvious syntax issues found which will make the scripts crash ... not running the actual tests until these are fixed"
|
log_error "Obvious syntax issues found which will make the scripts crash ... not running the actual tests until these are fixed"
|
||||||
|
# Return 0 instead of 1 such that the job gets flagged as failure and not as error
|
||||||
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# We filter apt deps starting with $app_id to prevent stupid issues with for example cockpit and transmission where the apt package is not properly reinstalled on reinstall-after-remove test ...
|
# We filter apt deps starting with $app_id to prevent stupid issues with for example cockpit and transmission where the apt package is not properly reinstalled on reinstall-after-remove test ...
|
||||||
|
|
Loading…
Add table
Reference in a new issue