Updated Jenkinsfile.
This commit is contained in:
parent
b068c08c5c
commit
ca9e8dad9e
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -3,21 +3,21 @@ pipeline {
|
|||||||
stages {
|
stages {
|
||||||
stage ("install") {
|
stage ("install") {
|
||||||
steps {
|
steps {
|
||||||
nodejs("System") {
|
nodejs("System NodeJS") {
|
||||||
sh "npm install"
|
sh "npm install"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage ("test") {
|
stage ("test") {
|
||||||
steps {
|
steps {
|
||||||
nodejs("System") {
|
nodejs("System NodeJS") {
|
||||||
sh "npm run test"
|
sh "npm run test"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage ("build") {
|
stage ("build") {
|
||||||
steps {
|
steps {
|
||||||
nodejs("System") {
|
nodejs("System NodeJS") {
|
||||||
sh "npm run build"
|
sh "npm run build"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user