Skip to content

Commit a336bc1

Browse files
authored
Merge pull request #51 from kaspar030/fix_reporter_start
protect reporter.py from tokens starting with `-`
2 parents 904a602 + b1bb069 commit a336bc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ main() {
262262
echo "--- Will abort after more than ${DWQ_MAXFAIL} failed job(s)."
263263

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

268268
get_jobs | dwqc ${DWQ_ENV} \

0 commit comments

Comments
 (0)