From 4c8f3a417604dbc4199ccc7bcda79d55dd5a2635 Mon Sep 17 00:00:00 2001 From: Manuele Simi Date: Fri, 30 Aug 2019 16:06:11 -0400 Subject: [PATCH] Access to the workspace with __FILE__. --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 0540c65..9c82fbd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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 = []