Skip to content

Commit

Permalink
Bump JDK used in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
pzygielo committed Feb 17, 2024
1 parent 8a75017 commit 3b9d9a7
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2021 Contributors to the Eclipse Foundation
# Copyright (c) 2022, 2024 Contributors to the Eclipse Foundation
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License v. 2.0 which is available at
Expand Down Expand Up @@ -35,7 +35,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
java-version: 21

- name: Initialize CodeQL (${{ matrix.language }})
uses: github/codeql-action/init@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2021, 2022 Contributors to the Eclipse Foundation
# Copyright (c) 2021, 2024 Contributors to the Eclipse Foundation
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License v. 2.0 which is available at
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
java-version: 21
- name: Build OpenMQ
run: |
./mvnw \
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tck.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2022 Contributors to the Eclipse Foundation
# Copyright (c) 2022, 2024 Contributors to the Eclipse Foundation
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License v. 2.0 which is available at
Expand Down Expand Up @@ -27,7 +27,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
java-version: 21
- name: Maven Build
run: |
./mvnw --show-version \
Expand Down
6 changes: 3 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pipeline {
stage('build') {
agent any
tools {
jdk 'temurin-jdk17-latest'
jdk 'temurin-jdk21-latest'
}
steps {
sh './mvnw -V -B -P staging -f mq clean install -Dbuild.letter=j -Dbuild.number=${BRANCH_NAME}/${GIT_COMMIT}/${BUILD_NUMBER}'
Expand Down Expand Up @@ -288,7 +288,7 @@ pipeline {
stage('Code Coverage') {
agent any
tools {
jdk 'temurin-jdk17-latest'
jdk 'temurin-jdk21-latest'
}
steps {
sh './mvnw -V -B -P staging -f mq -P jacoco clean verify'
Expand All @@ -311,7 +311,7 @@ pipeline {
stage('analysis') {
agent any
tools {
jdk 'temurin-jdk17-latest'
jdk 'temurin-jdk21-latest'
}
steps {
script {
Expand Down
4 changes: 2 additions & 2 deletions Jenkinsfile.sonar
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, 2021 Contributors to Eclipse Foundation. All rights reserved.
* Copyright (c) 2020, 2024 Contributors to Eclipse Foundation. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0, which is available at
Expand All @@ -18,7 +18,7 @@ pipeline {
agent any

tools {
jdk 'temurin-jdk17-latest'
jdk 'temurin-jdk21-latest'
}

options {
Expand Down

0 comments on commit 3b9d9a7

Please sign in to comment.