diff --git a/Jenkinsfile_yaml b/Jenkinsfile_yaml index 9a9d4cb..c25a2ba 100644 --- a/Jenkinsfile_yaml +++ b/Jenkinsfile_yaml @@ -10,11 +10,11 @@ def text = releaseURL.toURL().getText() echo text //parsing -List jsonConfig = new Yaml().load(text) -jsonConfig.each{println it.subject} +def jsonConfig = new Yaml().load(text) +println jsonConfig.inspect() +echo "gCube v. ${jsonConfig.gCube_release}" - -echo "gcube v. ${objejsonConfigct['gCube_version']}" +jsonConfig.gCube_release.Components.each{println it.subject} pipeline { agent any diff --git a/releases/gcube-4.14.5.yaml b/releases/gcube-4.14.5.yaml index 0e626ef..d05e508 100644 --- a/releases/gcube-4.14.5.yaml +++ b/releases/gcube-4.14.5.yaml @@ -1,5 +1,6 @@ -gCube_version: 4.14.5 +gCube_release: + Version: 4.14.5 Components: SmartGear: - maven-parent