Use the correct gCube_release_version parameter.
This commit is contained in:
parent
ecf7e2a4ea
commit
bb522f1c77
|
@ -39,7 +39,7 @@ if (params.Type == 'RELEASE') {
|
||||||
}
|
}
|
||||||
echo "Use settings file at ${maven_settings_file}"
|
echo "Use settings file at ${maven_settings_file}"
|
||||||
echo "Use local repo at ${maven_local_repo_path}"
|
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
|
//locate where this jenkinsfile is
|
||||||
|
@ -52,7 +52,7 @@ def text = releaseURL.toURL().getText()
|
||||||
def jsonConfig = new Yaml().load(text)
|
def jsonConfig = new Yaml().load(text)
|
||||||
println jsonConfig.inspect()
|
println jsonConfig.inspect()
|
||||||
assert jsonConfig.gCube_release.Version == params.gCube_release_version : "Release versions do not match!"
|
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:"
|
echo "Found components:"
|
||||||
jsonConfig.gCube_release.Components.each{ println it.key }
|
jsonConfig.gCube_release.Components.each{ println it.key }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue