From 788c1009c3aecd8bae9034a3736faa25e59f9cb3 Mon Sep 17 00:00:00 2001 From: Debayan Ghosh <66942246+debayangg@users.noreply.github.com> Date: Sun, 11 Feb 2024 19:48:36 +0530 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 6e8c8b2b..09032da7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,4 +1,11 @@ -buildPlugin(useContainerAgent: true, - // Opt-in to the Artifact Caching Proxy, to be removed when it will be in opt-out. - // See https://github.com/jenkins-infra/helpdesk/issues/2752 for more details and updates. - artifactCachingProxyEnabled: true) +/* + See the documentation for more options: + https://github.com/jenkins-infra/pipeline-library/ +*/ +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: true, // Set to `false` if you need to use Docker for containerized tests + configurations: [ + [platform: 'linux', jdk: 21], + [platform: 'windows', jdk: 17], +])