Skip to content

Commit

Permalink
Repair Jenkins job - add a full path to workspace when run on Windows
Browse files Browse the repository at this point in the history
Workaround for JENKINS-52657
  • Loading branch information
slachiewicz committed Oct 18, 2018
1 parent 6e619a1 commit 42c77a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Expand Up @@ -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()) {
Expand Down

0 comments on commit 42c77a7

Please sign in to comment.