Use the correct gCube_release_version parameter.

This commit is contained in:
Manuele Simi 2019-09-25 09:15:52 -04:00
parent ecf7e2a4ea
commit bb522f1c77
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -39,7 +39,7 @@ if (params.Type == 'RELEASE') {
}
echo "Use settings file at ${maven_settings_file}"
echo "Use local repo at ${maven_local_repo_path}"
echo "Release number: ${params.gCube_release_number}"
echo "Release number: ${params.gCube_release_version}"
//locate where this jenkinsfile is
@ -52,7 +52,7 @@ def text = releaseURL.toURL().getText()
def jsonConfig = new Yaml().load(text)
println jsonConfig.inspect()
assert jsonConfig.gCube_release.Version == params.gCube_release_version : "Release versions do not match!"
echo "BUilding gCube v. ${jsonConfig.gCube_release.Version}"
echo "Building gCube v. ${jsonConfig.gCube_release.Version}"
echo "Found components:"
jsonConfig.gCube_release.Components.each{ println it.key }