diff --git a/Jenkinsfile b/Jenkinsfile index adf94afb..43c591c6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,13 +2,15 @@ /* `buildPlugin` step provided by: https://github.com/jenkins-infra/pipeline-library */ buildPlugin( + // Run a JVM per core in tests + forkCount: '1C', // Container agents start faster and are easier to administer useContainerAgent: true, // Show failures on all configurations failFast: false, - // Test Java 11 with minimum Jenkins version, Java 17 with a more recent version + // Test Java 11 and Java 17 configurations: [ - [platform: 'linux', jdk: '11'], // Linux first for coverage report on ci.jenkins.io - [platform: 'windows', jdk: '17', jenkins: '2.407'], + [platform: 'linux', jdk: '17'], // Linux first for coverage report on ci.jenkins.io + [platform: 'windows', jdk: '11'], ] ) diff --git a/pom.xml b/pom.xml index bbd49325..e0bfb221 100644 --- a/pom.xml +++ b/pom.xml @@ -51,7 +51,7 @@ - + scm:git:https://github.com/${gitHubRepo} scm:git:git@github.com:${gitHubRepo}.git ${scmTag} @@ -140,19 +140,4 @@ - - - continuous-integration - - - env.CI - - - - - 1C - - - -