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

@@ -4,11 +4,8 @@
# Group ID 1001 is "jenkins"
# Syntax: `chown -R userId:groupId .`
echo "Logged in as user [$USER] with home directory [$HOME] in the current working directory [$PWD]"
echo "Logged into Jenkins CI as user [$USER] with home directory [$HOME] in the current working directory [$PWD]"
chown -R 1001:1001 .
mkdir -p /tmp/geode/session/artifacts-gradle-cache
mkdir -p /tmp/geode/session/build-gradle-cache
mkdir -p /tmp/geode/session/docs-gradle-cache
echo "Logging into Docker..."
docker login --username ${DOCKER_HUB_USR} --password ${DOCKER_HUB_PSW}
exit 0