Commit 6f0ce723 authored by xujian's avatar xujian

xx

parent 38af61c6
......@@ -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: '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' // 后端
// for (repo in repos) {
// gitParameter branchFilter: 'origin/(.*)', defaultValue: repo.batch , name: repo.dir, type: 'PT_BRANCH_TAG', useRepository: repo.url // 后端
// }
}
stages {
......@@ -47,7 +43,7 @@ pipeline {
// }
// }
// }
stage('参数定义') {
stage('步骤一: 代码获取') {
steps {
script {
for (repo in repos) {
......@@ -63,8 +59,7 @@ pipeline {
steps {
script {
dir('BASE') {
// 执行构建命令
sh 'echo xxxx'
sh "mvn -Dmaven.test.failure.ignore=true clean package install"
}
}
}
......@@ -73,9 +68,8 @@ pipeline {
stage('步骤三: 核心模块构建'){
steps {
script {
dir('BASE') {
// 执行构建命令
sh 'echo xxxx'
dir('CORE') {
sh "mvn -Dmaven.test.failure.ignore=true clean package install"
}
}
}
......@@ -85,9 +79,8 @@ pipeline {
stage('步骤四: HTJ模块构建'){
steps {
script {
dir('BASE') {
// 执行构建命令
sh 'echo xxxx'
dir('HTJ') {
sh "mvn -Dmaven.test.failure.ignore=true clean package install"
}
}
}
......@@ -97,9 +90,8 @@ pipeline {
stage('步骤五: Web模块构建'){
steps {
script {
dir('BASE') {
// 执行构建命令
sh 'echo xxxx'
dir('WEB') {
sh ""
}
}
}
......
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