Access to the workspace with __FILE__.
This commit is contained in:
parent
f32861fe19
commit
4c8f3a4176
|
@ -3,7 +3,7 @@ import groovy.io.FileType
|
|||
|
||||
|
||||
//locate where this jenkinsfile is
|
||||
def workspace ="${pwd()}"
|
||||
def workspace = new File(__FILE__).parent.absolutePath
|
||||
def releaseConfigDir = "${workspace}/releases"
|
||||
|
||||
def files = []
|
||||
|
|
Loading…
Reference in New Issue