From 42c77a71dfb53555097b1e9db1b6714dd5b57753 Mon Sep 17 00:00:00 2001 From: Sylwester Lachiewicz Date: Mon, 15 Oct 2018 00:20:25 +0200 Subject: [PATCH] Repair Jenkins job - add a full path to workspace when run on Windows Workaround for JENKINS-52657 --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 9fa73cd31bb..fe3791bed9c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -78,8 +78,8 @@ for (String os in runITsOses) { stage("${stageLabel}") { // on Windows, need a short path or we hit 256 character limit for paths // using EXECUTOR_NUMBER guarantees that concurrent builds on same agent - // will not trample each other - dir(isUnix() ? 'test' : "/mvn-it-${EXECUTOR_NUMBER}.tmp") { + // will not trample each other plus workaround for JENKINS-52657 + dir(isUnix() ? 'test' : "c:\\mvn-it-${EXECUTOR_NUMBER}.tmp") { def WORK_DIR=pwd() checkout tests if (isUnix()) {