Commit 6f0ce723 authored by xujian's avatar xujian

xx

parent 38af61c6
...@@ -19,10 +19,6 @@ pipeline { ...@@ -19,10 +19,6 @@ pipeline {
gitParameter branchFilter: 'origin/(.*)', defaultValue: 'master', name: 'CORE', type: 'PT_BRANCH_TAG', useRepository: '.*factory-tobacco-qrcodecore.git' // 后端 gitParameter branchFilter: 'origin/(.*)', defaultValue: 'master', name: 'CORE', type: 'PT_BRANCH_TAG', useRepository: '.*factory-tobacco-qrcodecore.git' // 后端
gitParameter branchFilter: 'origin/(.*)', defaultValue: 'master', name: 'HTJ', type: 'PT_BRANCH_TAG', useRepository: '.*factory-tobacco-qrcode-htj.git' // 后端 gitParameter branchFilter: 'origin/(.*)', defaultValue: 'master', name: 'HTJ', type: 'PT_BRANCH_TAG', useRepository: '.*factory-tobacco-qrcode-htj.git' // 后端
gitParameter branchFilter: 'origin/(.*)', defaultValue: 'master', name: 'WEB', type: 'PT_BRANCH_TAG', useRepository: '.*factory-tobacco-qrcode-htj-vue.git' // 后端 gitParameter branchFilter: 'origin/(.*)', defaultValue: 'master', name: 'WEB', type: 'PT_BRANCH_TAG', useRepository: '.*factory-tobacco-qrcode-htj-vue.git' // 后端
// for (repo in repos) {
// gitParameter branchFilter: 'origin/(.*)', defaultValue: repo.batch , name: repo.dir, type: 'PT_BRANCH_TAG', useRepository: repo.url // 后端
// }
} }
stages { stages {
...@@ -47,7 +43,7 @@ pipeline { ...@@ -47,7 +43,7 @@ pipeline {
// } // }
// } // }
// } // }
stage('参数定义') { stage('步骤一: 代码获取') {
steps { steps {
script { script {
for (repo in repos) { for (repo in repos) {
...@@ -63,8 +59,7 @@ pipeline { ...@@ -63,8 +59,7 @@ pipeline {
steps { steps {
script { script {
dir('BASE') { dir('BASE') {
// 执行构建命令 sh "mvn -Dmaven.test.failure.ignore=true clean package install"
sh 'echo xxxx'
} }
} }
} }
...@@ -73,9 +68,8 @@ pipeline { ...@@ -73,9 +68,8 @@ pipeline {
stage('步骤三: 核心模块构建'){ stage('步骤三: 核心模块构建'){
steps { steps {
script { script {
dir('BASE') { dir('CORE') {
// 执行构建命令 sh "mvn -Dmaven.test.failure.ignore=true clean package install"
sh 'echo xxxx'
} }
} }
} }
...@@ -85,9 +79,8 @@ pipeline { ...@@ -85,9 +79,8 @@ pipeline {
stage('步骤四: HTJ模块构建'){ stage('步骤四: HTJ模块构建'){
steps { steps {
script { script {
dir('BASE') { dir('HTJ') {
// 执行构建命令 sh "mvn -Dmaven.test.failure.ignore=true clean package install"
sh 'echo xxxx'
} }
} }
} }
...@@ -97,9 +90,8 @@ pipeline { ...@@ -97,9 +90,8 @@ pipeline {
stage('步骤五: Web模块构建'){ stage('步骤五: Web模块构建'){
steps { steps {
script { script {
dir('BASE') { dir('WEB') {
// 执行构建命令 sh ""
sh 'echo xxxx'
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment