From a2740cb38fd856346a7071f8936d53503fbed1b1 Mon Sep 17 00:00:00 2001 From: Manuele Simi Date: Thu, 29 Aug 2019 17:24:28 -0400 Subject: [PATCH] Try relative path. --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 86676aa..e6ede6b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,7 +1,7 @@ import groovy.json.JsonSlurper //check and parse the release file -def inputFile = new File("releases/gcube-${params.gCube_release_number}.json") +def inputFile = new File("./releases/gcube-${params.gCube_release_number}.json") assert inputFile.exists() : "Release file not found (expected gcube-${params.gCube_release_number}.json)" assert inputFile.canRead() : "Release file cannot be read" def gcubeJSON = new JsonSlurper().parseText(inputFile)