You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by se...@apache.org on 2019/04/13 21:23:31 UTC

[directory-server] branch jenkinsfile2 updated: Fix m2 repo mount. Remove workaround.

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

seelmann pushed a commit to branch jenkinsfile2
in repository https://gitbox.apache.org/repos/asf/directory-server.git


The following commit(s) were added to refs/heads/jenkinsfile2 by this push:
     new 16f7ef8  Fix m2 repo mount. Remove workaround.
16f7ef8 is described below

commit 16f7ef80299836c4d11312d3fdec83ba1d6671eb
Author: Stefan Seelmann <ma...@stefan-seelmann.de>
AuthorDate: Sat Apr 13 23:23:13 2019 +0200

    Fix m2 repo mount. Remove workaround.
---
 Jenkinsfile | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 53be7df..5d72ff0 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -57,16 +57,11 @@ pipeline {
             docker {
               label 'ubuntu'
               image 'apachedirectory/maven-build:jdk-8'
-              args '-v $HOME/.m2:/home/user/.m2'
+              args '-v $HOME/.m2:/var/maven/.m2'
             }
           }
           steps {
             sh '''
-            # Temporary workaround with Surefire on Debian with Java 8 and limit memory usage
-            # https://issues.apache.org/jira/browse/SUREFIRE-1588
-            # https://stackoverflow.com/questions/53010200/maven-surefire-could-not-find-forkedbooter-class
-            export MAVEN_OPTS="-Xmx1024m"
-            export _JAVA_OPTIONS="-Djdk.net.URLClassPath.disableClassPathURLCheck=true -Xmx1024m"
             mvn -V clean verify
             '''
           }