ci check empty

This commit is contained in:
mwiegand 2022-03-13 18:21:30 +01:00
parent d82a066fb3
commit b205bd7555

View file

@ -20,6 +20,7 @@ do
HOSTNAME=$(jq -r '.hostname' <<< $INTEGRATION)
DESTINATION_PATH=$(jq -r '.path' <<< $INTEGRATION)
DESTINATION_GROUP=$(jq -r '.group' <<< $INTEGRATION)
[[ -z "$HOSTNAME" ]] || [[ -z "$DESTINATION_PATH" ]] || [[ -z "$DESTINATION_GROUP" ]] && exit 5
cd ~
rm -rf "$REPO_NAME"