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/06/17 05:06:38 UTC

[directory-studio] branch master updated: Remove Java 12 build as it doesn't work yet. Set display env variable for UI tests.

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

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


The following commit(s) were added to refs/heads/master by this push:
     new c5f1968  Remove Java 12 build as it doesn't work yet. Set display env variable for UI tests.
c5f1968 is described below

commit c5f1968987faa9ad1085e775e36bcf58622adff7
Author: Stefan Seelmann <ma...@stefan-seelmann.de>
AuthorDate: Mon Jun 17 07:06:25 2019 +0200

    Remove Java 12 build as it doesn't work yet. Set display env variable for UI tests.
---
 Jenkinsfile | 26 +++-----------------------
 1 file changed, 3 insertions(+), 23 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 6ac5c62..e85c72e 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -39,7 +39,7 @@ pipeline {
         }
       }
       steps {
-        sh 'env'
+        sh 'export DISPLAY=:99; env; ps aux'
       }
       post {
         always {
@@ -61,7 +61,7 @@ pipeline {
             }
           }
           steps {
-            sh 'mvn -V -U -f pom-first.xml clean install && mvn -V clean install -Denable-ui-tests'
+            sh 'export DISPLAY=:99; mvn -V -U -f pom-first.xml clean install && mvn -V clean install -Denable-ui-tests'
           }
           post {
             always {
@@ -83,27 +83,7 @@ pipeline {
             }
           }
           steps {
-            sh 'mvn -V -U -f pom-first.xml clean install && mvn -V clean install -Denable-ui-tests'
-          }
-          post {
-            always {
-              deleteDir()
-            }
-          }
-        }
-        stage ('Linux Java 12') {
-          options {
-            timeout(time: 2, unit: 'HOURS')
-          }
-          agent {
-            docker {
-              label 'ubuntu'
-              image 'apachedirectory/maven-build:jdk-12'
-              //args '-v $HOME/.m2:/home/hnelson/.m2'
-            }
-          }
-          steps {
-            sh 'mvn -V -U -f pom-first.xml clean install && mvn -V clean install -Denable-ui-tests'
+            sh 'export DISPLAY=:99; mvn -V -U -f pom-first.xml clean install && mvn -V clean install -Denable-ui-tests'
           }
           post {
             always {