Fix release file path.
This commit is contained in:
parent
17494d8574
commit
dababd3086
|
@ -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