Explorar o código

Обновить 'Jenkinsfile'

Vladimir Tomishinets %!s(int64=7) %!d(string=hai) anos
pai
achega
34d2685ca9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Jenkinsfile

+ 1 - 1
Jenkinsfile

@@ -53,7 +53,7 @@ pipeline {
       steps {
         echo "Create image ${DOCKER_REGISTRY}/${DOCKER_IMAGE}:${BUILD_NUMBER}"
         sh '''docker build --no-cache -t ${DOCKER_REGISTRY}/${DOCKER_IMAGE}:${BUILD_NUMBER} .
-              if [ $? != 0 ]; then exit 1
+              if [ $? != 0 ]; then exit 1; fi
            '''
       }
     }