Skip to content

Commit

Permalink
CI: Add jobs for openjdk21 and mvn 3.9.x
Browse files Browse the repository at this point in the history
OpenJDK21 is installed and built with Ubuntu 20.04 LTS onwards
therefore enable these jobs for testing with odlparent.

Change-Id: I280851d168191dd7e0620a8a9fa7ceb51d2b2630
Signed-off-by: Anil Belur <[email protected]>
  • Loading branch information
askb committed May 23, 2024
1 parent 192bd7f commit 097993e
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 0 deletions.
33 changes: 33 additions & 0 deletions jjb/odlparent/odlparent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,39 @@
# Used by the release job
staging-profile-id: 880d5ac25eaa

- project:
name: odlparent-master-jdk21
jobs:
- "{project-name}-rtd-jobs":
build-node: ubuntu2004-docker-4c-4g
doc-dir: .tox/docs/tmp/html
project-pattern: odlparent
rtd-build-url: https://readthedocs.org/api/v2/webhook/odl-odlparent/50830/
rtd-token: e5afd4ac1ead64408d9e13cd1f628ade55512f8f
- odl-maven-jobs-jdk21
- odl-maven-verify-jobs-jdk21
- gerrit-tox-verify

project: odlparent
project-name: odlparent-jdk21
stream: master
branch: master

mvn-settings: odlparent-settings

dependencies: ""
email-upstream: "[odlparent]"
archive-artifacts: >
**/*.prop
**/*.log
**/target/surefire-reports/*-output.txt
**/target/failsafe-reports/failsafe-summary.xml
**/hs_err_*.log
**/target/feature/feature.xml
# Used by the release job
staging-profile-id: 880d5ac25eaa

- project:
name: odlparent-12.0.x
jobs:
Expand Down
50 changes: 50 additions & 0 deletions jjb/releng-templates-java.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,31 @@
java-version: openjdk17
mvn-version: mvn38

- job-group:
name: odl-maven-jobs-jdk21

jobs:
- gerrit-maven-clm:
nexus-iq-namespace: odl-
nexus-iq-stage: release
mvn-opts: "--add-opens java.base/java.util=ALL-UNNAMED"

- gerrit-maven-merge:
build-timeout: 180

- gerrit-maven-stage:
sbom-generator: true
sign-artifacts: true
cron: ""

- gerrit-maven-mri-stage:
sbom-generator: true
sign-artifacts: true
cron: ""

java-version: openjdk21
mvn-version: mvn39

- job-group:
name: odl-maven-verify-jobs

Expand All @@ -69,6 +94,17 @@
java-version: openjdk17
mvn-version: mvn38

- job-group:
name: odl-maven-verify-jobs-jdk21

jobs:
- gerrit-maven-verify
- gerrit-maven-verify-dependencies:
build-timeout: 180

java-version: openjdk21
mvn-version: mvn39

- job-group:
name: odl-sonar-jobs-jdk17

Expand All @@ -83,6 +119,20 @@
sonarcloud-api-token: "{sonarcloud_api_token}"
sonarcloud-project-key: "{sonarcloud_project_organization}_{project-name}"

- job-group:
name: odl-sonar-jobs-jdk21

jobs:
- gerrit-maven-sonar

java-version: openjdk21
mvn-version: mvn39
sonarcloud: true
sonarcloud-java-version: openjdk21
sonarcloud-project-organization: "{sonarcloud_project_organization}"
sonarcloud-api-token: "{sonarcloud_api_token}"
sonarcloud-project-key: "{sonarcloud_project_organization}_{project-name}"

- job-template:
name: "{project-name}-integration-{stream}"

Expand Down

0 comments on commit 097993e

Please sign in to comment.