Skip to content

Commit f026709

Browse files
script/buildcontainer-setup: set JENKINS_HOME while building image
Set the JENKINS_HOME environment variable while building the builder image. This is needed because parts of scripts like run-make.sh and install-deps.sh key off of this variable. Since we want to be able to use the build container to build, run "make check" and the like, we want that environment to be as similar to the jenkins CI environment as we can make it. Signed-off-by: John Mulligan <[email protected]>
1 parent a1a98e3 commit f026709

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/script/buildcontainer-setup.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
install_container_deps() {
44
source ./src/script/run-make.sh
5+
# set JENKINS_HOME in order to have the build container look as much
6+
# like an existing jenkins build environment as possible
7+
export JENKINS_HOME=/ceph
58
prepare
69
}
710

0 commit comments

Comments
 (0)