Fix WORKSPACE environment variable

This commit is contained in:
Adubbz 2015-12-17 17:45:46 +11:00
parent c2ba2f6402
commit 41dbcf334b
1 changed files with 2 additions and 2 deletions

View File

@ -116,13 +116,13 @@ uploadArchives {
println "--------------------"
def list = []
def dir = new File("${WORKSPACE}/build/libs")
def dir = new File("${System.env.WORKSPACE}/build/libs")
dir.eachFileRecurse (FileType.FILES) { file ->
//Add each file to the list
list << file
}
//Print the names of all of the files
//Print the names of all of the output files
list.each {
println it.getName()
}