Parametrize the release file path according to the release version.

This commit is contained in:
Manuele Simi 2019-09-03 16:34:27 -04:00
parent 5f22add877
commit af336fb64a
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ echo "Release number: ${params.gCube_release_number}"
//locate where this jenkinsfile is
String releaseURL = "https://code-repo.d4science.org/gCubeCI/gCubeRelease/raw/branch/feature/17273/releases/gcube-4.14.5.yaml"
String releaseURL = "https://code-repo.d4science.org/gCubeCI/gCubeRelease/raw/branch/feature/17273/releases/gcube-${gCube_release_version}.yaml"
//load the release file
println "Querying ${releaseURL}"
def text = releaseURL.toURL().getText()