@ -13,6 +13,18 @@ pipeline {
sh 'ls -al'
}
stage('🛠️构建') {
steps {
withDockerContainer('node:18-alpine') {
sh 'node -V'
sh 'npm config set registry https://registry.npmmirror.com'
sh 'npm install'
sh 'npm build'
sh 'la -al'
post {