Fix WORKSPACE environment variable
This commit is contained in:
parent
c2ba2f6402
commit
41dbcf334b
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue