Skip to content

Commit

Permalink
Try using java 15 for gocd cache
Browse files Browse the repository at this point in the history
  • Loading branch information
kritika-singh3 committed Dec 17, 2020
1 parent 77dd65d commit 8274a57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provision/provision-centos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ function build_gocd() {

try su - ${PRIMARY_USER} -c "git clone --depth 1 https://github.com/gocd/gocd /tmp/gocd && \
cd /tmp/gocd && \
GRADLE_OPTS=-Dorg.gradle.daemon=false ./gradlew --max-workers 2 compileAll yarnInstall --no-build-cache ${GRADLE_OPTIONS}"
jabba use [email protected] && GRADLE_OPTS=-Dorg.gradle.daemon=false ./gradlew --max-workers 2 compileAll yarnInstall --no-build-cache ${GRADLE_OPTIONS}"
try rm -rf /tmp/gocd /${PRIMARY_USER}/.gradle/caches/build-cache-*
}

Expand Down

0 comments on commit 8274a57

Please sign in to comment.