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

reta pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/main by this push:
     new 74ff2953ea Fix Jakarta REST TCK build (skip tests for rest-tck and use 
JDK-17)
74ff2953ea is described below

commit 74ff2953eadd2eca74f9139038277a0b55385168
Author: Andriy Redko <[email protected]>
AuthorDate: Sat Nov 9 14:56:40 2024 -0500

    Fix Jakarta REST TCK build (skip tests for rest-tck and use JDK-17)
---
 tck/Jenkinsfile | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/tck/Jenkinsfile b/tck/Jenkinsfile
index 32a8659008..9d1e63ffd5 100644
--- a/tck/Jenkinsfile
+++ b/tck/Jenkinsfile
@@ -4,8 +4,8 @@ pipeline {
    }
    
     tools { 
-        maven 'maven_3.6.3' 
-        jdk 'jdk_11_latest' 
+        maven 'maven_latest' 
+        jdk 'jdk_17_latest' 
     }
 
     stages {
@@ -47,7 +47,7 @@ pipeline {
        stage('Build JAX-RS TCK') {
            steps {
                echo "Using Apache CXF version: " + params.Version
-               sh "mvn clean install -f rest"
+               sh "mvn clean install -f rest -DskipTests=true"
            }
        }
 
@@ -62,10 +62,6 @@ pipeline {
        }
        
        stage('Run JAX-RS TCK') {
-           tools { 
-                jdk 'jdk_17_latest' 
-           }
-
            steps {
                 dir("${WORKSPACE}/cxf/tck/cxf-tck") {
                     sh "mvn clean verify -Dcxf.version=${params.Version}"

Reply via email to