From e44fbdf5a4387746697b9ac0bf5e9c05a4d58aa1 Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Wed, 11 May 2022 22:49:54 -0500 Subject: [PATCH] Updated nodejs environment name. --- Jenkinsfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 2445fdd..0a270dc 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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: ''])