Commit 48c7b262 authored by Jelmer Vernooij's avatar Jelmer Vernooij
Browse files

Pass some jenkins environment variables to the janitor worker.

This allows e.g. linking back to the jenkins result pages.
parent 95f0a5db
...@@ -5,6 +5,12 @@ set -e ...@@ -5,6 +5,12 @@ set -e
docker run --rm --cap-add=SYS_ADMIN --privileged \ docker run --rm --cap-add=SYS_ADMIN --privileged \
--memory=20g \ --memory=20g \
-v /srv/janitor:/srv/janitor \ -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 \ registry.salsa.debian.org/jelmer/janitor.debian.net/worker \
--listen-address=0.0.0.0 \ --listen-address=0.0.0.0 \
--port=8080 \ --port=8080 \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment