fix repo input params
This commit is contained in:
parent
a126392466
commit
c5443c6b10
|
@ -135,9 +135,9 @@ def checkout_from_reference(repo_name, repo_url, commit, version, gCube_release_
|
|||
])
|
||||
if (params.Type == "PUSH") {
|
||||
def status=push(repo_url, repo_name, "v${version}", "r${gCube_release_version}", commit)
|
||||
sh "echo -e ${components[i]['name']},${components[i]['version']},${components[i]['gitRepo']},${components[i]['commitID']},status >> $PUSH_REPORT"
|
||||
sh "echo -e ${repo_name},${version},${repo_url},${commit},${status} >> $PUSH_REPORT"
|
||||
}else{
|
||||
sh "echo -e ${components[i]['name']},${components[i]['version']},${components[i]['gitRepo']},${components[i]['commitID']},unsent >> $PUSH_REPORT"
|
||||
sh "echo -e ${repo_name},${version},${repo_url},${commit},'unsent' >> $PUSH_REPORT"
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue