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

+ 4 - 4
Jenkinsfile

@@ -57,7 +57,7 @@ pipeline {
                 error('Unknown cluster')
           }
         }
-        echo "Building ${DOCKER_REGISTRY}/iru/${DOCKER_IMAGE}:${repo}-${BUILD_NUMBER}."
+/*        echo "Building ${DOCKER_REGISTRY}/iru/${DOCKER_IMAGE}:${repo}-${BUILD_NUMBER}."
         sh "docker build --build-arg repo=${repo} --no-cache -t ${DOCKER_REGISTRY}/iru/${DOCKER_IMAGE}:${repo}-${BUILD_NUMBER} ."
         script {
            NEWTAG = sh script: "docker run --rm ${DOCKER_REGISTRY}/iru/${DOCKER_IMAGE}:${repo}-${BUILD_NUMBER} rpm -q --qf %{VERSION}-%{RELEASE} ${PACKAGE_NAME} 2> /dev/null", returnStdout: true
@@ -65,15 +65,15 @@ pipeline {
            echo "NEWTAG is $NEWTAG"
         }
         sh "docker tag ${DOCKER_REGISTRY}/iru/${DOCKER_IMAGE}:${repo}-${BUILD_NUMBER} ${DOCKER_REGISTRY}/iru/${DOCKER_IMAGE}:${NEWTAG}"
-      }
+*/      }
     }
-    stage("Publish") {
+/*    stage("Publish") {
       steps {
         echo "Publishing ${DOCKER_REGISTRY}/iru/${DOCKER_IMAGE}:${NEWTAG}"
         sh "docker push ${DOCKER_REGISTRY}/iru/${DOCKER_IMAGE}:${NEWTAG}"
       }
     }
-    stage("Update") {
+*/    stage("Update") {
       when { expression { service_update != "" } }
       steps {
         script {