try build
This commit is contained in:
Vendored
+12
@@ -13,6 +13,18 @@ pipeline {
|
|||||||
sh 'ls -al'
|
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 {
|
post {
|
||||||
|
|||||||
Reference in New Issue
Block a user