[maven-surefire] branch opentasks updated: removed cleanWs() after the checkout - ensured at the end

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[maven-surefire] branch opentasks updated: removed cleanWs() after the checkout - ensured at the end

Tibor Digana
This is an automated email from the ASF dual-hosted git repository.

tibordigana pushed a commit to branch opentasks
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git


The following commit(s) were added to refs/heads/opentasks by this push:
     new 75c114b  removed cleanWs() after the checkout - ensured at the end
75c114b is described below

commit 75c114b7efb4d22cce5bd9f3095dae84040c3061
Author: tibordigana <[hidden email]>
AuthorDate: Sun Nov 10 19:34:05 2019 +0100

    removed cleanWs() after the checkout - ensured at the end
---
 Jenkinsfile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 24a0b06..b9fe8f5 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -120,7 +120,6 @@ timeout(time: 12, unit: 'HOURS') {
 }
 
 def buildProcess(String stageKey, String jdkName, String jdkTestName, String mvnName, goals, options, mavenOpts, boolean makeReports) {
-    cleanWs()
     try {
         def mvnLocalRepoDir
         if (isUnix()) {
@@ -171,7 +170,7 @@ def buildProcess(String stageKey, String jdkName, String jdkTestName, String mvn
         }
     } finally {
         if (makeReports) {
-            openTasks(ignoreCase: true, canComputeNew: false, defaultEncoding: 'UTF-8', pattern: sourcesPatternCsv(),
+            openTasks(ignoreCase: true, canComputeNew: true, defaultEncoding: 'UTF-8', pattern: sourcesPatternCsv(),
                     high: tasksViolationHigh(), normal: tasksViolationNormal(), low: tasksViolationLow())
 
             jacoco(changeBuildStatus: false,