From c71b17098579117b8b7e62ee2e363fc1333249f5 Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Fri, 13 May 2022 01:51:22 -0500 Subject: [PATCH] Updated Jenkinsfile. --- Jenkinsfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 910d348..55e5379 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,14 +3,14 @@ pipeline { stages { stage("install") { steps { - nodejs('System') { + nodejs('System NodeJS') { sh "npm install" } } } stage("tests") { steps { - nodejs('System') { + nodejs('System NodeJS') { sh "npm run test:junit" } junit 'junit/*.xml' @@ -18,7 +18,7 @@ pipeline { } stage("build") { steps { - nodejs('System') { + nodejs('System NodeJS') { sh "npm run build:prod" } fingerprint "dist/**" @@ -27,7 +27,7 @@ pipeline { } stage("generate docs") { steps { - nodejs('System') { + nodejs('System NodeJS') { sh "npm run docs" } publishHTML([allowMissing: false, alwaysLinkToLastBuild: true, keepAll: true, reportDir: './docs', reportFiles: 'index.html', reportName: 'AudioShowKit Docs', reportTitles: ''])