Skip to content

Commit

Permalink
Merge pull request #51 from kaspar030/fix_reporter_start
Browse files Browse the repository at this point in the history
protect reporter.py from tokens starting with `-`
  • Loading branch information
kaspar030 authored Jan 2, 2024
2 parents 904a602 + b1bb069 commit a336bc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ main() {
echo "--- Will abort after more than ${DWQ_MAXFAIL} failed job(s)."

local report_queue="status::${CI_JOB_UID}:$(random)"
${BASEDIR}/reporter.py "${report_queue}" ${CI_JOB_UID} ${CI_JOB_TOKEN} &
${BASEDIR}/reporter.py -- "${report_queue}" "${CI_JOB_UID}" "${CI_JOB_TOKEN}" &
local reporter_pid=$!

get_jobs | dwqc ${DWQ_ENV} \
Expand Down

0 comments on commit a336bc1

Please sign in to comment.