Commit 6a6c88f2 authored by xujian's avatar xujian

xx

parent d7524bb7
......@@ -35,13 +35,13 @@ pipeline {
def yamlFile = readFile('project.yaml')
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
// 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
// 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
// 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
// base = xxx.base.module
// core = xxx.core.module
......@@ -62,7 +62,6 @@ pipeline {
steps {
script {
for (repo in repos) {
echo repo
dir(repo.dir) {
git branch: "${params[repo.dir]}", credentialsId: '175beac7-7b6f-4171-a605-a268377d2937', url: repo.url
}
......
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