updated Jenkinsfile

This commit is contained in:
Marvin Zhang
2019-05-31 19:18:52 +08:00
parent 7b7f144968
commit 57b05e3dfe

5
Jenkinsfile vendored
View File

@@ -10,9 +10,8 @@ pipeline {
steps {
echo "Building frontend..."
sh "cd frontend"
sh "npm install -g yarn pm2"
sh "yarn install"
sh "npm run build:prod"
sh "/home/yeqing/.nvm/versions/node/v8.12.0/bin/yarn install"
sh "/home/yeqing/.nvm/versions/node/v8.12.0/bin/npm run build:prod"
}
}
stage('Build Backend') {