Wadim Surkov преди 6 години
родител
ревизия
d2e6e1dbb3
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      Jenkinsfile

+ 2 - 2
Jenkinsfile

@@ -70,7 +70,7 @@ pipeline {
     stage("Publish") {
       steps {
         echo "Publishing ${DOCKER_REGISTRY}/iru/${DOCKER_IMAGE}:${NEWTAG}"
-        sh "docker push ${DOCKER_REGISTRY}/iru/${DOCKER_IMAGE}:${repo}-${NEWTAG}"
+        sh "docker push ${DOCKER_REGISTRY}/iru/${DOCKER_IMAGE}:${NEWTAG}"
       }
     }
     stage("Update") {
@@ -116,7 +116,7 @@ pipeline {
     always {
       echo "CleaningUp work diretory"
       deleteDir()
-//      sh "docker image rm -f `docker image ls -q ${DOCKER_REGISTRY}/iru/${DOCKER_IMAGE}:${repo}-${BUILD_NUMBER}`"
+      sh "docker image rm -f `docker image ls -q ${DOCKER_REGISTRY}/iru/${DOCKER_IMAGE}:${repo}-${BUILD_NUMBER}`"
     }
     failure {
       mail charset: 'UTF-8',