updated Jenkinsfile

This commit is contained in:
Marvin Zhang
2019-05-31 19:20:05 +08:00
parent 57b05e3dfe
commit ca3c2ddae9

2
Jenkinsfile vendored
View File

@@ -10,7 +10,7 @@ pipeline {
steps {
echo "Building frontend..."
sh "cd frontend"
sh "/home/yeqing/.nvm/versions/node/v8.12.0/bin/yarn install"
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"
}
}