diff --git a/Jenkinsfile b/Jenkinsfile index 4b31ebe..09032da 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,5 +1,11 @@ -buildPlugin(useContainerAgent: true, configurations: [ - [platform: 'linux', jdk: 11], - [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 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], ])