diff --git a/Jenkinsfile b/Jenkinsfile index c11220a..1a98966 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,9 +9,10 @@ pipeline { stages { stage('Test') { steps { - echo 'Testing..' - sh 'npm install' - sh 'npm run build' + nodejs(nodeJSInstallationName: 'NodeJS') { + sh 'npm install' + sh 'npm run build' + } } } stage('Build') {