You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ti...@apache.org on 2019/01/23 07:26:54 UTC

[maven-surefire] branch jenkins-error updated: investigate only Windows, avoided reports archives and notifications

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

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


The following commit(s) were added to refs/heads/jenkins-error by this push:
     new f4c769d  investigate only Windows, avoided reports archives and  notifications
f4c769d is described below

commit f4c769d34374cd3da4d3e9b556dc477342bec8a3
Author: tibordigana <ti...@apache.org>
AuthorDate: Wed Jan 23 08:26:47 2019 +0100

    investigate only Windows, avoided reports archives and  notifications
---
 Jenkinsfile | 32 +-------------------------------
 1 file changed, 1 insertion(+), 31 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 28c58ca..ad7bedb 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -111,7 +111,7 @@ timeout(time: 12, unit: 'HOURS') {
         currentBuild.result = 'FAILURE'
         throw e
     } finally {
-        jenkinsNotify()
+        //jenkinsNotify()
     }
 }
 
@@ -164,36 +164,6 @@ def buildProcess(String stageKey, String jdkName, String jdkTestName, String mvn
             }
         }
     } finally {
-        if (makeReports) {
-            openTasks(ignoreCase: true, canComputeNew: false, defaultEncoding: 'UTF-8', pattern: sourcesPatternCsv(),
-                    high: tasksViolationHigh(), normal: tasksViolationNormal(), low: tasksViolationLow())
-
-            jacoco(changeBuildStatus: false,
-                    execPattern: '**/*.exec',
-                    sourcePattern: sourcesPatternCsv(),
-                    classPattern: classPatternCsv())
-
-            junit(healthScaleFactor: 0.0,
-                    allowEmptyResults: true,
-                    keepLongStdio: true,
-                    testResults: testReportsPatternCsv())
-
-            if (currentBuild.result == 'UNSTABLE') {
-                currentBuild.result = 'FAILURE'
-            }
-        }
-
-        if (currentBuild.result != null && currentBuild.result != 'SUCCESS') {
-            if (fileExists('maven-failsafe-plugin/target/it')) {
-                zip(zipFile: "maven-failsafe-plugin--${stageKey}.zip", dir: 'maven-failsafe-plugin/target/it', archive: true)
-            }
-
-            if (fileExists('surefire-its/target')) {
-                zip(zipFile: "surefire-its--${stageKey}.zip", dir: 'surefire-its/target', archive: true)
-            }
-
-            archiveArtifacts(artifacts: "*--${stageKey}.zip", allowEmptyArchive: true, onlyIfSuccessful: false)
-        }
         // clean up after ourselves to reduce disk space
         cleanWs()
     }