From 22723ca3ef5415ecb6e1398b38a3e002906075ef Mon Sep 17 00:00:00 2001 From: Konstantina Chremmou Date: Thu, 5 Mar 2020 00:23:44 +0000 Subject: [PATCH] Script path correction. Signed-off-by: Konstantina Chremmou --- Jenkinsfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 64d4e1959..01671b515 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -139,8 +139,10 @@ node('xencenter') { } stage('Run checks') { - powershell ".\\${env.WORKSPACE}\\xenadmin.git\\scripts\\check_copyright.ps1" - powershell ".\\${env.WORKSPACE}\\xenadmin.git\\scripts\\check_i18n.ps1" + dir("${env.WORKSPACE}\\xenadmin.git") { + powershell ".\\scripts\\check_copyright.ps1" + powershell ".\\scripts\\check_i18n.ps1" + } } stage('Build') {