Ver código fonte

更新 'Jenkinsfile'

sifu-gogs 2 anos atrás
pai
commit
8e7f314589
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      Jenkinsfile

+ 1 - 1
Jenkinsfile

@@ -11,7 +11,7 @@ pipeline {
                     sh 'npm install yarn -g --registry https://registry.npm.taobao.org'
                     sh 'yarn config set registry https://registry.npm.taobao.org/'
                     sh 'yarn install'
-                    sh 'yarn build'
+                    sh 'yarn run build:prod'
                 }
                 sh 'docker build -t ${BRANCH_NAME}:${BUILD_NUMBER} .'
             }