Ugh
Apps/everybody-mov/pipeline/head This commit looks good Details

This commit is contained in:
Amber McCloughan 2022-09-03 23:34:01 -04:00
parent c8bd73c7cd
commit 9e1a9a5a7b
1 changed files with 3 additions and 2 deletions

5
Jenkinsfile vendored
View File

@ -53,10 +53,11 @@ pipeline {
// } // }
steps { steps {
script { script {
withCredentials( withCredentials([usernamePassword(
credentialsId: env.CREDENTIALS_ID, credentialsId: env.CREDENTIALS_ID,
usernameVariable: 'JENKINS_USERNAME', usernameVariable: 'JENKINS_USERNAME',
passwordVariable: 'JENKINS_PASSWORD') { passwordVariable: 'JENKINS_PASSWORD'
)]) {
docker.withRegistry(env.DOCKER_REGISTRY, env.CREDENTIALS_ID) { docker.withRegistry(env.DOCKER_REGISTRY, env.CREDENTIALS_ID) {
DOCKER_IMAGE.push("${BUILD_NUMBER}") DOCKER_IMAGE.push("${BUILD_NUMBER}")
DOCKER_IMAGE.push('latest') DOCKER_IMAGE.push('latest')