Define 'DOCKER_HUB' (build) environment variable to access the credentials (username/password) required to login to Docker.

This commit is contained in:
John Blum
2021-04-05 16:50:05 -07:00
parent 404f8759e8
commit 766d2d08eb

4
Jenkinsfile vendored
View File

@@ -22,6 +22,9 @@ pipeline {
stages {
stage('Build') {
environment {
DOCKER_HUB = credentials('hub.docker.com-springbuildmaster')
}
options {
timeout(time: 15, unit: "MINUTES")
}
@@ -32,6 +35,7 @@ pipeline {
// Cleanup any prior build system resources
try {
sh "echo 'Cleaning up build artifacts & old GemFire/Geode files...'"
sh "ci/cleanupGemFiles.sh"
sh "ci/cleanupArtifacts.sh"
}