| Jenkinsfile | ●●●●● patch | view | raw | blame | history |
Jenkinsfile
@@ -24,6 +24,7 @@ stage ('Build image'){ steps{ script{ "echo $env.BRANCH_NAME $IMAGE_TAG" customImage = docker.build("${JOB_NAME}:${BUILDDATE}-build-${env.BUILD_ID}","--no-cache .") } } @@ -35,12 +36,13 @@ } stage('Push Image'){ steps{ script{ input 'Proceed with push' script{ docker.withRegistry('https://dev-reg.darkurthe.net'){ customImage.push() customImage.push("$env.IMAGE_TAG") } } } } post{ failure {