Parametrize the release file path according to the release version.
This commit is contained in:
parent
5f22add877
commit
af336fb64a
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue