try build
This commit is contained in:
Vendored
+12
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user