Commit d7524bb7 authored by xujian's avatar xujian

xx

parent d3327de7
@Library("cicdhtj@master") _ @Library("cicdhtj@master") _
def repos = [ def repos = [
// [dir: 'BASE', type: 'mvn', isUpdate: true, url: 'http://114.116.202.8:18808/factory-tobacco/factory-tobacco-basic.git'], [dir: 'BASE', type: 'mvn', isUpdate: true, url: 'http://114.116.202.8:18808/factory-tobacco/factory-tobacco-basic.git'],
// [dir: 'CORE', type: 'mvn', isUpdate: true, url: 'http://114.116.202.8:18808/factory-tobacco/factory-tobacco-qrcodecore.git'], [dir: 'CORE', type: 'mvn', isUpdate: true, url: 'http://114.116.202.8:18808/factory-tobacco/factory-tobacco-qrcodecore.git'],
// [dir: 'HTJ', type: 'mvn', isUpdate: true, url: 'http://114.116.202.8:18808/factory-tobacco/factory-tobacco-qrcode-htj.git'], [dir: 'HTJ', type: 'mvn', isUpdate: true, url: 'http://114.116.202.8:18808/factory-tobacco/factory-tobacco-qrcode-htj.git'],
// [dir: 'WEB', type: 'node', isUpdate: true, url: 'http://114.116.202.8:18808/factory-tobacco/factory-tobacco-qrcode-htj-vue.git'] [dir: 'WEB', type: 'node', isUpdate: true, url: 'http://114.116.202.8:18808/factory-tobacco/factory-tobacco-qrcode-htj-vue.git']
] ]
def modules = [ def modules = [
[dir: 'BASE', name: "factory-tobacco-qrcode-auth", version: "v24.09.20", isUpdate: true, isEncryption: true,path: "module/xxx/xxxx"] [dir: 'BASE', name: "factory-tobacco-qrcode-auth", version: "v24.09.20", isUpdate: true, isEncryption: true,path: "module/xxx/xxxx"]
...@@ -35,13 +35,13 @@ pipeline { ...@@ -35,13 +35,13 @@ pipeline {
def yamlFile = readFile('project.yaml') def yamlFile = readFile('project.yaml')
def smallfile = log.readYaml(yamlFile) def smallfile = log.readYaml(yamlFile)
repos.add([dir: smallfile.base.name, type: smallfile.base.type, isUpdate: smallfile.base.isUpdate, url: smallfile.base.url]) // repos.add([dir: smallfile.base.name, type: smallfile.base.type, isUpdate: smallfile.base.isUpdate, url: smallfile.base.url])
echo repos[0].dir echo repos[0].dir
repos.add([dir: smallfile.core.name, type: smallfile.core.type, isUpdate: smallfile.core.isUpdate, url: smallfile.core.url]) // repos.add([dir: smallfile.core.name, type: smallfile.core.type, isUpdate: smallfile.core.isUpdate, url: smallfile.core.url])
echo repos[1].dir echo repos[1].dir
repos.add([dir: smallfile.htj.name, type: smallfile.htj.type, isUpdate: smallfile.htj.isUpdate, url: smallfile.htj.url]) // repos.add([dir: smallfile.htj.name, type: smallfile.htj.type, isUpdate: smallfile.htj.isUpdate, url: smallfile.htj.url])
echo repos[2].dir echo repos[2].dir
repos.add([dir: smallfile.web.name, type: smallfile.web.type, isUpdate: smallfile.web.isUpdate, url: smallfile.web.url]) // repos.add([dir: smallfile.web.name, type: smallfile.web.type, isUpdate: smallfile.web.isUpdate, url: smallfile.web.url])
echo repos[3].dir echo repos[3].dir
// base = xxx.base.module // base = xxx.base.module
// core = xxx.core.module // core = xxx.core.module
......
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