From 84ac27b48d3d7ee615494627026464aff173f784 Mon Sep 17 00:00:00 2001 From: Stefan Spieker Date: Tue, 7 May 2024 12:18:49 +0200 Subject: [PATCH] Update Jenkinsfile to use java 17 and 21 (#69) * Update Jenkinsfile * Update Jenkinsfile Co-authored-by: Aleksi Simell --------- Co-authored-by: Aleksi Simell --- Jenkinsfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 77c9ed70..e313ea0a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,4 +1,10 @@ #!/usr/bin/env groovy /* `buildPlugin` step provided by: https://github.com/jenkins-infra/pipeline-library */ -buildPlugin() +buildPlugin( + useContainerAgent: true, + configurations: [ + [platform: 'linux', jdk: 21], + [platform: 'linux', jdk: 17], + [platform: 'windows', jdk: 17], +])