shows in testing farm as err: so i provided more info

This commit is contained in:
Andrei Radchenko 2025-01-10 17:44:42 +01:00
commit 458071f671

View file

@ -4,8 +4,9 @@ KOJI_TASK_ID=${KOJI_TASK_ID:-} # Use the environment variable, or an empty stri
# Check if KOJI_TASK_ID is set
[ -n "$KOJI_TASK_ID" ] || {
echo "env variable \$KOJI_TASK_ID not specified" >&2
echo "This variable should be present in TestingFarm" >&2
echo "WARN: KOJI_TASK_ID not set!"
echo "WARN: not able to find scratch build, RPMS will be pulled from repo" >&2
echo "WARN: this variable should be either provided or passed from Testing Farm" >&2
exit 0
}