List and print current files.

This commit is contained in:
Manuele Simi 2019-08-29 17:40:43 -04:00
parent a97397ba91
commit 6951c87314
1 changed files with 11 additions and 1 deletions

12
Jenkinsfile vendored
View File

@ -1,6 +1,16 @@
import groovy.json.JsonSlurper
import groovy.io.FileType
def files = []
def dir = new File(".")
dir.eachFileRecurse (FileType.FILES) { file ->
files << file
}
files.each {
println it.path
}
echo `ls -lrt */*`
//check and parse the release file
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)"