Updated nodejs environment name.
This commit is contained in:
parent
6e926251c4
commit
e44fbdf5a4
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -3,14 +3,14 @@ pipeline {
|
||||
stages {
|
||||
stage("install") {
|
||||
steps {
|
||||
nodejs('System NodeJS') {
|
||||
nodejs('System') {
|
||||
sh "npm install"
|
||||
}
|
||||
}
|
||||
}
|
||||
stage("tests") {
|
||||
steps {
|
||||
nodejs('System NodeJS') {
|
||||
nodejs('System') {
|
||||
sh "npm run test:junit"
|
||||
}
|
||||
junit 'junit/*.xml'
|
||||
@ -18,7 +18,7 @@ pipeline {
|
||||
}
|
||||
stage("build") {
|
||||
steps {
|
||||
nodejs('System NodeJS') {
|
||||
nodejs('System') {
|
||||
sh "npm run build:prod"
|
||||
}
|
||||
fingerprint "dist/**"
|
||||
@ -28,7 +28,7 @@ pipeline {
|
||||
stage("generate docs") {
|
||||
steps {
|
||||
sh "rm -r ./docs"
|
||||
nodejs('System NodeJS') {
|
||||
nodejs('System') {
|
||||
sh "npm run docs"
|
||||
}
|
||||
publishHTML([allowMissing: false, alwaysLinkToLastBuild: true, keepAll: true, reportDir: './docs', reportFiles: 'index.html', reportName: 'AudioShowKit Docs', reportTitles: ''])
|
||||
|
Loading…
Reference in New Issue
Block a user