From 1a83c0dff16342a245f449f43bb99cdadbba70c7 Mon Sep 17 00:00:00 2001 From: jansupol Date: Wed, 20 Dec 2023 11:59:01 +0100 Subject: [PATCH] Build Tyrus on JDK 17 Signed-off-by: jansupol --- etc/jenkins/Jenkinsfile_ci_build | 34 ++++++++++++++++---------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/etc/jenkins/Jenkinsfile_ci_build b/etc/jenkins/Jenkinsfile_ci_build index 2ac02633..27c197e8 100644 --- a/etc/jenkins/Jenkinsfile_ci_build +++ b/etc/jenkins/Jenkinsfile_ci_build @@ -22,34 +22,34 @@ pipeline { ''' } } - stage('JDK 13 ') { +// stage('JDK 13 ') { +// agent { +// label 'centos-7' +// } +// tools { +// jdk 'openjdk-jdk13-latest' +// maven 'apache-maven-latest' +// } +// steps { +// sh ''' +// mvn -U -C -Dtyrus.test.container.client=org.glassfish.tyrus.container.grizzly.client.GrizzlyClientContainer -Pbundles clean install -Dmaven.javadoc.skip=true +// ''' +// } +// } + stage('JDK 17 ') { agent { label 'centos-7' } tools { - jdk 'openjdk-jdk13-latest' + jdk 'openjdk-jdk17-latest' maven 'apache-maven-latest' } steps { sh ''' - mvn -U -C -Dtyrus.test.container.client=org.glassfish.tyrus.container.grizzly.client.GrizzlyClientContainer -Pbundles clean install -Dmaven.javadoc.skip=true + mvn -U -C -Dtyrus.test.container.client=org.glassfish.tyrus.container.grizzly.client.GrizzlyClientContainer -Pbundles clean install -Dmaven.javadoc.skip=true ''' } } - //stage('JDK 17 ') { - // agent { - // label 'centos-7' - // } - // tools { - // jdk 'openjdk-jdk17-latest' - // maven 'apache-maven-latest' - // } - // steps { - // sh ''' - // mvn -U -C -Dtyrus.test.container.client=org.glassfish.tyrus.container.grizzly.client.GrizzlyClientContainer -Pbundles clean install -Dmaven.javadoc.skip=true - // ''' - // } - //} } } }