Try relative path, again.
This commit is contained in:
parent
a2740cb38f
commit
8036fba682
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue