From 1b72ffa6b5ff50ccf40769b06a250fd8f66b04f0 Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Tue, 26 Apr 2022 21:14:30 -0500 Subject: [PATCH] Switched Jenkins NodeJS environment name. --- Jenkinsfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 22a6ccf..2445fdd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,14 +3,14 @@ pipeline { stages { stage("install") { steps { - nodejs('NodeJS (17.4.0)') { + nodejs('System NodeJS') { sh "npm install" } } } stage("tests") { steps { - nodejs('NodeJS (17.4.0)') { + nodejs('System NodeJS') { sh "npm run test:junit" } junit 'junit/*.xml' @@ -18,7 +18,7 @@ pipeline { } stage("build") { steps { - nodejs('NodeJS (17.4.0)') { + nodejs('System NodeJS') { sh "npm run build:prod" } fingerprint "dist/**" @@ -28,7 +28,7 @@ pipeline { stage("generate docs") { steps { sh "rm -r ./docs" - nodejs('NodeJS (17.4.0)') { + nodejs('System NodeJS') { sh "npm run docs" } publishHTML([allowMissing: false, alwaysLinkToLastBuild: true, keepAll: true, reportDir: './docs', reportFiles: 'index.html', reportName: 'AudioShowKit Docs', reportTitles: ''])