Refactor and optimize the Jenkins CI pipeline build.

Include pipeline.properties to parameterize the Jenkins pipeline build.

Refactor all shell scripts to reflect Jenkins build changes and Spring Build Conventions Gradle Plugin changes.
This commit is contained in:
John Blum
2022-03-16 17:09:55 -07:00
parent c049fff66c
commit 9f545693eb
8 changed files with 35 additions and 20 deletions

View File

@@ -9,7 +9,7 @@ echo "Deploying docs on host [$HOSTNAME]"
# Syntax: `chown -R userId:groupId .`
chown -R 1001:1001 .
GRADLE_OPTS="-Duser.name=jenkins -Djava.io.tmpdir=/tmp -Dgradle.user.home=/tmp/geode/session/docs-gradle-cache" \
GRADLE_OPTS="--add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED -Duser.name=jenkins -Duser.home=/tmp/jenkins-home -Djava.io.tmpdir=/tmp" \
./gradlew deployDocs --no-daemon --stacktrace \
-PdeployDocsSshKeyPath=$DEPLOY_SSH_KEY \
-PdeployDocsSshUsername=$SPRING_DOCS_USERNAME