Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Debian QA
jenkins.debian.net
Commits
48c7b262
Commit
48c7b262
authored
Feb 16, 2022
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/janitor_worker.sh
View file @
48c7b262
...
@@ -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
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment