#!groovy pipeline { agent any options { disableConcurrentBuilds() } stages { stage('build') { steps { nodejs(nodeJSInstallationName: 'current') { sh 'npm i' sh 'npm run pkg' } } } } }