ソースを参照

Обновить 'Jenkinsfile'

Vladimir Tomishinets 7 年 前
コミット
34d2685ca9
1 ファイル変更1 行追加1 行削除
  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
            '''
       }
     }