Move 'chown' and and 'mkdir /tmp/jenkins-home' commmands to setup.sh. Add 'exit 0' commands to the cleanup Bash shell scripts. Add 'echo' commands to log build progress.
8 lines
172 B
Bash
Executable File
8 lines
172 B
Bash
Executable File
#!/bin/bash -x
|
|
|
|
mkdir -p /tmp/jenkins-home
|
|
chown -R 1001:1001 .
|
|
echo "Logging into Docker..."
|
|
docker login --username ${DOCKER_HUB_USR} --password ${DOCKER_HUB_PSW}
|
|
exit 0
|