From f32861fe19eee879f12cbd1fede718b69ec65db6 Mon Sep 17 00:00:00 2001 From: Manuele Simi Date: Fri, 30 Aug 2019 15:34:49 -0400 Subject: [PATCH] Access to the workspace from the master node. --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 48caf74..0540c65 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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 ->