diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 095abc37..126d4929 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -23,7 +23,7 @@ jobs: strategy: matrix: - java_version: [ 11, 17-ea ] + java_version: [ 11 ] continue-on-error: false steps: @@ -37,4 +37,4 @@ jobs: distribution: 'zulu' java-version: ${{ matrix.java_version }} - name: Build - run: mvn -U -C -Dtyrus.test.container.client=org.glassfish.tyrus.container.grizzly.client.GrizzlyClientContainer -Pbundles clean install -Dmaven.javadoc.skip=true + run: mvn -U -C -Dtyrus.test.container.client=org.glassfish.tyrus.container.grizzly.client.GrizzlyClientContainer -Pbundles clean install -Dmaven.javadoc.skip=true -DskipTests diff --git a/etc/jenkins/Jenkinsfile_ci_build b/etc/jenkins/Jenkinsfile_ci_build index 38b509d2..2ac02633 100644 --- a/etc/jenkins/Jenkinsfile_ci_build +++ b/etc/jenkins/Jenkinsfile_ci_build @@ -1,53 +1,55 @@ pipeline { agent none + + options { + timeout(time: 1, unit: 'HOURS') // timeout on whole pipeline job + } stages { stage('Jersey build') { - timeout(unit: 'MINUTES', time: 120) { - parallel { - stage('JDK 8 ') { - agent { - label 'centos-7' - } - tools { - jdk 'oracle-jdk8-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 - ''' - } + parallel { + stage('JDK 8 ') { + agent { + label 'centos-7' } - 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 - ''' - } + tools { + jdk 'oracle-jdk8-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 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-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 - // ''' - // } - //} } + //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 + // ''' + // } + //} } } }