updated Jenkinsfile

This commit is contained in:
Marvin Zhang
2019-05-31 19:22:17 +08:00
parent ca3c2ddae9
commit dbef1a45ba

4
Jenkinsfile vendored
View File

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