@@ -70,3 +70,4 @@ target
pom.xml.versionsBackup
build/
node_modules
+lib
@@ -0,0 +1,30 @@
+//file:noinspection ALL
+pipeline {
+ agent any
+
+ environment {
+ projectName = 'yvan-ext'
+ }
+ stages {
+ stage('#检查环境') {
+ steps {
+ sh """
+ node -v
+ npm -v
+ yarn -v
+ """
+ stage('#编译项目') {
+ wget -N http://git.yvanui.com/lizhiwei/jztd-deploy/raw/master/00base/01yvan-ext.sh
+ chmod +x 01yvan-ext.sh
+ ./01yvan-ext.sh deploy
+}
+ projectName = 'yvan-ext-mobile'
+ wget -N http://git.yvanui.com/lizhiwei/jztd-deploy/raw/master/00base/02yvan-ext-mobile.sh
+ chmod +x 02yvan-ext-mobile.sh
+ ./02yvan-ext-mobile.sh deploy