You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2019/07/29 22:08:36 UTC

[maven] branch MAVEN_OPTS updated (c745dd3 -> 421255f)

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

hboutemy pushed a change to branch MAVEN_OPTS
in repository https://gitbox.apache.org/repos/asf/maven.git.


    from c745dd3  display env
     new 1c9be9c  run ITs only on Linux
     new 421255f  try to archive mng-4747 output

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 Jenkinsfile | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)


[maven] 01/02: run ITs only on Linux

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch MAVEN_OPTS
in repository https://gitbox.apache.org/repos/asf/maven.git

commit 1c9be9cb259c220b66ab742626790f1d8a9fdbd9
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Mon Jul 29 23:58:36 2019 +0200

    run ITs only on Linux
---
 Jenkinsfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index b9e510d..81254d9 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -22,7 +22,7 @@ properties([buildDiscarder(logRotator(artifactNumToKeepStr: '5', numToKeepStr: e
 def buildOs = 'linux'
 def buildJdk = '8'
 def buildMvn = '3.6.0'
-def runITsOses = ['linux', 'windows']
+def runITsOses = ['linux']
 def runITsJdks = ['7', '8', '11','12']
 def runITsMvn = '3.6.0'
 def runITscommand = "mvn clean install -Prun-its,embedded -B -U -V" // -DmavenDistro=... -Dmaven.test.failure.ignore=true


[maven] 02/02: try to archive mng-4747 output

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch MAVEN_OPTS
in repository https://gitbox.apache.org/repos/asf/maven.git

commit 421255fb02da49ed0c8a54af8d205c4cfb61ab7e
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Tue Jul 30 00:08:31 2019 +0200

    try to archive mng-4747 output
---
 Jenkinsfile | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/Jenkinsfile b/Jenkinsfile
index 81254d9..964cd2b 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -112,6 +112,7 @@ for (String os in runITsOses) {
                                 bat "${cmd}"
                             }
                         }
+                        archiveDirs(taskContext.archives, "${WORK_DIR}/core-it-suite/target/test-classes/mng-4747")
                         deleteDir() // clean up after ourselves to reduce disk space
                     }
                 }
@@ -156,3 +157,13 @@ parallel(runITsTasks)
         jenkinsNotify()      
     }    
 }
+
+def archiveDirs(archives, stageDir) {
+  if (archives != null) {
+    dir(stageDir) {
+      archives.each { archivePrefix, pathToContent ->
+	    zip(zipFile: "${archivePrefix}-${stageDir}.zip", dir: pathToContent, archive: true)
+      }
+	}
+  }
+}