* Map and set the 'jenkins' user home directory (/home/jenkins) on the host (Jenkins server / worker node) filesystem to the Docker Container (virtual) filesystem's /tmp/jenkins-home directory. * Change Docker Container 'inside' environment settings when deploying artifacts and docs to no longer set the '--name' option.
7 lines
194 B
Bash
Executable File
7 lines
194 B
Bash
Executable File
#!/bin/bash -x
|
|
|
|
set -eou pipefail
|
|
|
|
GRADLE_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home -Djava.io.tmpdir=/tmp" \
|
|
./gradlew clean check --no-daemon --refresh-dependencies --stacktrace
|