diff --git a/Jenkinsfile b/Jenkinsfile index 2fb0938..4d423e8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,7 +1,11 @@ -#!/usr/bin/env groovy - -/* `buildPlugin` step provided by: https://github.com/jenkins-infra/pipeline-library */ -buildPlugin(useContainerAgent: true, configurations: [ - [platform: 'linux', jdk: 21], - [platform: 'windows', jdk: 17], +/* + See the documentation for more options: + https://github.com/jenkins-infra/pipeline-library/ +*/ +buildPlugin( + forkCount: '1C', // Run a JVM per core in tests + useContainerAgent: true, // Set to `false` if you need to use Docker for containerized tests + configurations: [ + [platform: 'linux', jdk: 21], + [platform: 'windows', jdk: 17], ]) diff --git a/pom.xml b/pom.xml index 6fe2ef0..8fb849a 100644 --- a/pom.xml +++ b/pom.xml @@ -85,7 +85,7 @@ io.jenkins.tools.bom - bom-2.440.x + bom-${jenkins.baseline}.x 3234.v5ca_5154341ef import pom @@ -96,7 +96,8 @@ 999999-SNAPSHOT jenkinsci/${project.artifactId} - 2.440.3 + 2.440 + ${jenkins.baseline}.3