Access to the workspace from the master node.
This commit is contained in:
parent
3ab4e0c39c
commit
f32861fe19
|
@ -3,7 +3,8 @@ import groovy.io.FileType
|
|||
|
||||
|
||||
//locate where this jenkinsfile is
|
||||
def releaseConfigDir = "${WORKSPACE}/releases"
|
||||
def workspace ="${pwd()}"
|
||||
def releaseConfigDir = "${workspace}/releases"
|
||||
|
||||
def files = []
|
||||
new File(releaseConfigDir).eachFileRecurse (FileType.FILES) { file ->
|
||||
|
|
Loading…
Reference in New Issue