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 <jmulligan@redhat.com>
(cherry picked from commit
f026709b1f7e323908eaf8f4582ae1bd1ed7a323)
install_container_deps() {
source ./src/script/run-make.sh
+ # set JENKINS_HOME in order to have the build container look as much
+ # like an existing jenkins build environment as possible
+ export JENKINS_HOME=/ceph
prepare
}