Ugh
Apps/everybody-mov/pipeline/head This commit looks good
Details
Apps/everybody-mov/pipeline/head This commit looks good
Details
This commit is contained in:
parent
c8bd73c7cd
commit
9e1a9a5a7b
|
@ -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')
|
||||||
|
|
Loading…
Reference in New Issue