pipeline { agent { docker { image 'node:16-alpine' } } stages { stage('Build') { steps { sh 'npm install --registry https://registry.npm.taobao.org' sh 'npm run build:prod' } } stage('Test') { steps { echo 'Testing..' } } stage('Deploy') { steps { echo 'Deploying....' } } } }