fix repo input params

This commit is contained in:
Roberto Cirillo 2023-02-07 16:23:32 +01:00
parent a126392466
commit c5443c6b10
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -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"
}
}