This is an automated email from the ASF dual-hosted git repository. vatamane pushed a commit to branch jenkins-hex-cache in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit d2fdb12d1dc07cbf46bf33a80ab49f117c22d313 Author: Nick Vatamaniuc <[email protected]> AuthorDate: Thu Oct 5 13:01:24 2023 -0400 See if we can configure Hex to use a cache for CI jobs --- build-aux/Jenkinsfile.full | 3 ++- build-aux/Jenkinsfile.pr | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/build-aux/Jenkinsfile.full b/build-aux/Jenkinsfile.full index 4ca68ca46..02b5bacb0 100644 --- a/build-aux/Jenkinsfile.full +++ b/build-aux/Jenkinsfile.full @@ -282,7 +282,8 @@ pipeline { // We need the jenkins user mapped inside of the image // npm config cache below deals with /home/jenkins not mapping correctly // inside the image - DOCKER_ARGS = '-e npm_config_cache=npm-cache -e HOME=. -v=/etc/passwd:/etc/passwd -v /etc/group:/etc/group -v /root/.gradle:/root/.gradle' + HEX_HOME = '/home/jenkins/.hex' + DOCKER_ARGS = '-e npm_config_cache=npm-cache -e HOME=. -v=/etc/passwd:/etc/passwd -v /etc/group:/etc/group -v /root/.gradle:/root/.gradle -v /home/jenkins/.hex:/home/jenkins/.hex' } options { diff --git a/build-aux/Jenkinsfile.pr b/build-aux/Jenkinsfile.pr index 8b114803f..4975dfb47 100644 --- a/build-aux/Jenkinsfile.pr +++ b/build-aux/Jenkinsfile.pr @@ -44,7 +44,8 @@ pipeline { // We need the jenkins user mapped inside of the image // npm config cache below deals with /home/jenkins not mapping correctly // inside the image - DOCKER_ARGS = '-e npm_config_cache=npm-cache -e HOME=. -v=/etc/passwd:/etc/passwd -v /etc/group:/etc/group' + HEX_HOME = '/home/jenkins/.hex' + DOCKER_ARGS = '-e npm_config_cache=npm-cache -e HOME=. -v=/etc/passwd:/etc/passwd -v /etc/group:/etc/group -v /home/jenkins/.hex:/home/jenkins/.hex' // *** BE SURE TO ALSO CHANGE THE ERLANG VERSIONS FARTHER DOWN *** // Search for ERLANG_VERSION
