List and print current files.
This commit is contained in:
parent
a97397ba91
commit
6951c87314
|
@ -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)"
|
||||
|
|
Loading…
Reference in New Issue