diff --git a/ci.json b/ci.json index b33d55cf01..5d1892b711 100644 --- a/ci.json +++ b/ci.json @@ -5,7 +5,16 @@ "version": "9.3" }, "zentaoext": { - "gitRepo": "zentao/zentaoext" + "gitRepo": "zentao/zentaoext", + "gitVersion": "release/11.7" + }, + "zentaomax": { + "gitRepo": "zentao/zentaoext", + "gitVersion": "release/6.7" + }, + "zentaoipd": { + "gitRepo": "zentao/zentaoext", + "gitVersion": "release/3.7" }, "devops": { "gitRepo": "zentao/devops" diff --git a/misc/ci/Jenkinsfile b/misc/ci/Jenkinsfile index e64bc27975..0fe5d53488 100644 --- a/misc/ci/Jenkinsfile +++ b/misc/ci/Jenkinsfile @@ -26,7 +26,9 @@ pipeline { separator(name: "replay", sectionHeader: "仓库切换") string description: '指定一个构建Id用于回放', name: 'REPLAY_ID', trim: true - string description: '指定 zentaoext 分支, 也可以是 tag 或者 commit', name: 'zentaoext_version', trim: true + string description: '指定企业版分支, 也可以是 tag 或者 commit', name: 'zentaoext_version', trim: true + string description: '指定旗舰版分支, 也可以是 tag 或者 commit', name: 'zentaomax_version', trim: true + string description: '指定IPD版分支, 也可以是 tag 或者 commit', name: 'zentaoipd_version', trim: true string description: '指定 xuanxuan 分支', name: 'xuanxuan_version', trim: true string description: '指定开源版全量降级 revision', name: 'fulldown_pms_version', trim: true string description: '指定收费版全量降级 revision', name: 'fulldown_ext_version', trim: true @@ -95,8 +97,8 @@ pipeline { zCheckout([ [name: "xuansrc", subDir: true, url: "https://${env.GITFOX_HOST}/git/xuan/xuanxuan.git", credentialsId: "gitfox-zcorp-cc-ci-robot", branchs: ["${params.xuanxuan_version}", j.getReplaySHA("xuanxuan"), "${env.XUANVERSION}"] ], [name: "zentaoext", subDir: true, url: "https://${env.GITFOX_HOST}/git/${env.ZENTAOEXT_GIT_REPO}.git", credentialsId: "gitfox-zcorp-cc-ci-robot", branchs: ["${params.zentaoext_version}", j.getReplaySHA("zentaoext"), "${env.ZENTAOEXT_VERSION}", "${env.GIT_BRANCH}"] ], - [name: "zentaomax", subDir: true, url: "https://${env.GITFOX_HOST}/git/zentao/zentaomax.git", credentialsId: "gitfox-zcorp-cc-ci-robot", branchs: ["${env.GIT_BRANCH}"] ], - [name: "zentaoipd", subDir: true, url: "https://${env.GITFOX_HOST}/git/zentao/zentaoipd.git", credentialsId: "gitfox-zcorp-cc-ci-robot", branchs: ["${env.GIT_BRANCH}"] ], + [name: "zentaomax", subDir: true, url: "https://${env.GITFOX_HOST}/git/zentao/zentaomax.git", credentialsId: "gitfox-zcorp-cc-ci-robot", branchs: ["${params.zentaomax_version}", j.getReplaySHA("zentaomax"), "${env.ZENTAOMAX_VERSION}", "${env.GIT_BRANCH}"] ], + [name: "zentaoipd", subDir: true, url: "https://${env.GITFOX_HOST}/git/zentao/zentaoipd.git", credentialsId: "gitfox-zcorp-cc-ci-robot", branchs: ["${params.zentaoipd_version}", j.getReplaySHA("zentaoipd"), "${env.ZENTAOIPD_VERSION}", "${env.GIT_BRANCH}"] ], [name: "downRepo", subDir: true, url: "https://${env.GITFOX_HOST}/git/${env.DOWNGRADE_GIT_REPO}.git", credentialsId: "gitfox-zcorp-cc-ci-robot", branchs: ["${params.fulldown_pms_version}", j.getReplaySHA("${env.DOWNGRADE_GIT_REPO}"), "downgrade/${env.GIT_BRANCH}/src"] ], [name: "downRepoExt", subDir: true, url: "https://${env.GITFOX_HOST}/git/${env.DOWNGRADE_EXT_GIT_REPO}.git", credentialsId: "gitfox-zcorp-cc-ci-robot", branchs: ["${params.fulldown_ext_version}", j.getReplaySHA("${env.DOWNGRADE_EXT_GIT_REPO}"), "downgrade/${env.GIT_BRANCH}/src"] ] ])