Updated Jenkinsfile.

This commit is contained in:
Harrison Deng 2022-05-13 01:52:56 -05:00
parent b068c08c5c
commit ca9e8dad9e

6
Jenkinsfile vendored
View File

@ -3,21 +3,21 @@ pipeline {
stages {
stage ("install") {
steps {
nodejs("System") {
nodejs("System NodeJS") {
sh "npm install"
}
}
}
stage ("test") {
steps {
nodejs("System") {
nodejs("System NodeJS") {
sh "npm run test"
}
}
}
stage ("build") {
steps {
nodejs("System") {
nodejs("System NodeJS") {
sh "npm run build"
}
}