Skip to content

Commit e504372

Browse files
authored
Merge pull request #428 from perlpunk/fix-openqa-cli-monitor
Add missing --host argument to openqa-cli call
2 parents 5b5413d + d920775 commit e504372

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

monitor-openqa_job

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ declare -A failed_versions
3131
failed_jobs=()
3232
for job_id in $(job_ids job_post_response); do
3333
log-info "Waiting for job $job_id to finish"
34-
$openqa_cli monitor --follow --poll-interval "$sleep_time" "$job_id"
34+
$openqa_cli monitor --host "$host" --follow --poll-interval "$sleep_time" "$job_id"
3535
response=$($openqa_cli api --host "$host" jobs/"$job_id")
3636
result=$(echo "$response" | jq -r '.job.result')
3737
log-info "Result of job $job_id: $result"

0 commit comments

Comments
 (0)