[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] Pass some jenkins environment variables to the janitor worker.
Mattia Rizzolo (@mattia)
gitlab at salsa.debian.org
Wed Feb 16 16:59:32 GMT 2022
Mattia Rizzolo pushed to branch master at Debian QA / jenkins.debian.net
Commits:
48c7b262 by Jelmer Vernooij at 2022-02-16T01:19:42+01:00
Pass some jenkins environment variables to the janitor worker.
This allows e.g. linking back to the jenkins result pages.
- - - - -
1 changed file:
- bin/janitor_worker.sh
Changes:
=====================================
bin/janitor_worker.sh
=====================================
@@ -5,6 +5,12 @@ set -e
docker run --rm --cap-add=SYS_ADMIN --privileged \
--memory=20g \
-v /srv/janitor:/srv/janitor \
+ -e BUILD_URL="${BUILD_URL}" \
+ -e EXECUTOR_NUMBER="${EXECUTOR_NUMBER}" \
+ -e BUILD_ID="${BUILD_ID}" \
+ -e BUILD_NUMBER="${BUILD_NUMBER}" \
+ -e NODE_NAME="${NODE_NAME}" \
+ -e JENKINS_URL="${JENKINS_URL}" \
registry.salsa.debian.org/jelmer/janitor.debian.net/worker \
--listen-address=0.0.0.0 \
--port=8080 \
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/48c7b262dec2de7f433f6196e51baa375fe114e9
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/48c7b262dec2de7f433f6196e51baa375fe114e9
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20220216/7d64e2ce/attachment.htm>
More information about the Qa-jenkins-scm
mailing list