Skip to content

Commit b1bb069

Browse files
committed
protect reporter.py from tokens starting with -
1 parent 904a602 commit b1bb069

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)