shows in testing farm as err: so i provided more info
This commit is contained in:
parent
e629adf99f
commit
458071f671
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue