Files
spring-session-data-geode/ci/setup.sh
John Blum 9f545693eb 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.
2022-03-17 10:57:34 -07:00

12 lines
355 B
Bash
Executable File

#!/bin/bash -x
# User ID 1001 is "jenkins"
# Group ID 1001 is "jenkins"
# Syntax: `chown -R userId:groupId .`
echo "Logged into Jenkins CI as user [$USER] with home directory [$HOME] in the current working directory [$PWD]"
chown -R 1001:1001 .
echo "Logging into Docker..."
docker login --username ${DOCKER_HUB_USR} --password ${DOCKER_HUB_PSW}
exit 0