You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2019/01/04 12:57:24 UTC
[maven-jenkins-lib] branch master updated: Disable cleanWs() due to
issues with file handles on Windows
This is an automated email from the ASF dual-hosted git repository.
rfscholte pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-jenkins-lib.git
The following commit(s) were added to refs/heads/master by this push:
new 713b508 Disable cleanWs() due to issues with file handles on Windows
713b508 is described below
commit 713b508726c49bac1a686c578782d2321fdf347f
Author: rfscholte <rf...@apache.org>
AuthorDate: Fri Jan 4 13:56:43 2019 +0100
Disable cleanWs() due to issues with file handles on Windows
---
vars/asfMavenTlpPlgnBuild.groovy | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/vars/asfMavenTlpPlgnBuild.groovy b/vars/asfMavenTlpPlgnBuild.groovy
index ea2c3c4..2d9ad8f 100644
--- a/vars/asfMavenTlpPlgnBuild.groovy
+++ b/vars/asfMavenTlpPlgnBuild.groovy
@@ -198,7 +198,8 @@ def doCreateTask( os, jdk, maven, tasks, first, plan, taskContext )
}
} catch (Throwable e) {
// First step to keep the workspace clean and safe disk space
- cleanWs()
+// 20180104: Fails because some java process keeps handles on files on Windows
+// cleanWs()
if (!taskContext.failFast) {
throw e
} else if (taskContext.failingFast == null) {
@@ -209,7 +210,8 @@ def doCreateTask( os, jdk, maven, tasks, first, plan, taskContext )
echo "[FAIL FAST] ${taskContext.failingFast} had first failure, ignoring ${e.message}"
}
} finally {
- cleanWs()
+// 20180104: Fails because some java process keeps handles on files on Windows
+// cleanWs()
}
}
}