From cd1906b0ae27f4c04bda3ceff279f5e3a6de0ff0 Mon Sep 17 00:00:00 2001 From: Cyrille Le Clerc Date: Wed, 13 Nov 2024 10:26:58 +0100 Subject: [PATCH] Restore builds on JDK 17 Signed-off-by: Cyrille Le Clerc --- Jenkinsfile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index c9afbde4..59afb1f4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,7 +2,10 @@ See the documentation for more options: https://github.com/jenkins-infra/pipeline-library/ */ -buildPlugin(useContainerAgent: false, configurations: [ - [platform: 'linux', jdk: 21], - [platform: 'windows', jdk: 21], -]) +buildPlugin( + forkCount: '1C', // run this number of tests in parallel for faster feedback. If the number terminates with a 'C', the value will be multiplied by the number of available CPU cores + useContainerAgent: false, // Set to `false` if you need to use Docker for containerized tests + configurations: [ + [platform: 'linux', jdk: 21], + [platform: 'windows', jdk: 17], +]) \ No newline at end of file