From 13ffc874d31bd3cd77098c71935905a2d40ff6fc Mon Sep 17 00:00:00 2001 From: ydeng Date: Thu, 17 Nov 2022 14:38:39 -0600 Subject: [PATCH] Removed use of NodeJS Jenkins tool from Jenkinsfile. --- Jenkinsfile | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 55e5379..cec5953 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,33 +3,25 @@ pipeline { stages { stage("install") { steps { - nodejs('System NodeJS') { - sh "npm install" - } + sh "npm install" } } stage("tests") { steps { - nodejs('System NodeJS') { - sh "npm run test:junit" - } + sh "npm run test:junit" junit 'junit/*.xml' } } stage("build") { steps { - nodejs('System NodeJS') { - sh "npm run build:prod" - } + sh "npm run build:prod" fingerprint "dist/**" archiveArtifacts artifacts: 'dist/audioshowkit.js', followSymlinks: false } } stage("generate docs") { steps { - nodejs('System NodeJS') { - sh "npm run docs" - } + sh "npm run docs" publishHTML([allowMissing: false, alwaysLinkToLastBuild: true, keepAll: true, reportDir: './docs', reportFiles: 'index.html', reportName: 'AudioShowKit Docs', reportTitles: '']) } }