diff --git a/Jenkinsfile b/Jenkinsfile index c83ea212..633fc886 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,7 +1,16 @@ // Specify configurations explicitly to test against newer LTS. // See also https://github.com/jenkins-infra/pipeline-library/pull/145 -buildPlugin(useContainerAgent: true, configurations: [ - [ platform: 'linux', jdk: '11' ], - [ platform: 'windows', jdk: '17' ], -]) +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 and Java 17 + configurations: [ + [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 b6ab6e5c..623a4ed7 100644 --- a/pom.xml +++ b/pom.xml @@ -165,17 +165,6 @@ import pom - - javax.annotation - javax.annotation-api - 1.3.2 - - - commons-net - commons-net - 3.9.0 - test -