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

skygo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-jenkins-lib.git


The following commit(s) were added to refs/heads/master by this push:
     new 39fbf9f  xvfb addition
39fbf9f is described below

commit 39fbf9ff1f2e3b4e013eec6dc7227bcf67838177
Author: Eric Barboni <[email protected]>
AuthorDate: Fri Oct 8 22:43:59 2021 +0200

    xvfb addition
---
 jobs/Jenkinsmatrixfile.groovy | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/jobs/Jenkinsmatrixfile.groovy b/jobs/Jenkinsmatrixfile.groovy
index ed37e53..9e1154b 100644
--- a/jobs/Jenkinsmatrixfile.groovy
+++ b/jobs/Jenkinsmatrixfile.groovy
@@ -53,13 +53,16 @@ pipeline {
                                 unstash 'idebuildzip'
                                 unzip  zipFile: 'nbbuild/build/testdist.zip', 
dir:'testdir'
                                 unzip  zipFile: 'zip/NetBeansIDE.zip', 
dir:'netbeans'
+                                mkdir "-p 
${WORKSPACE}/result/unit/${JDK}/${MODULE} "
                                 sh 'java -version'
                                 sh 'ant -version'
                                 // this is not finished
-                                sh "ant -f ${WORKSPACE}/testdir/build.xml 
-Dtest.clusters=${env.MODULE} -Dtest.types=unit 
-Dnetbeans.dest.dir=${WORKSPACE}/netbeans/netbeans"
-                                junit 
"${WORKSPACE}/testdir/unit/results/**/*.xml"
+                                wrap([$class: 'Xvfb', additionalOptions: '', 
assignedLabels: '', displayNameOffset: 0, autoDisplayName:true, 
installationName: 'Xvfb', parallelBuild: true, screen: '']) {
+                                    sh "ant -f ${WORKSPACE}/testdir/build.xml 
-Dtest-sys-prop.ignore.random.failures=true 
-Dtest.result.dir=${WORKSPACE}/result/unit/${JDK}/${MODULE} 
-Dtest.clusters=${env.MODULE} -Dtest.types=unit 
-Dnetbeans.dest.dir=${WORKSPACE}/netbeans/netbeans "
+                                }
+                                junit 
"${WORKSPACE}/result/unit/${JDK}/${MODULE}/**/*.xml"
                                 //sh "ant -f ${WORKSPACE}/testdir/build.xml 
-Dtest.clusters=${env.MODULE} -Dtest.types=qa-functional 
-Dnetbeans.dest.dir=${WORKSPACE}/netbeans/netbeans"
-
+                                archiveArtifacts artifacts: 
"${WORKSPACE}/result/unit/${JDK}/${MODULE}/**"
                             }
                         }
 
@@ -70,8 +73,8 @@ pipeline {
         }
     }
     post {
-            cleanup {
-                cleanWs disableDeferredWipeout: true, deleteDirs: true
-            }
+        cleanup {
+            cleanWs disableDeferredWipeout: true, deleteDirs: true
+        }
     }
 }

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to