Skip to content

Commit

Permalink
Report coverage on ci.jenkins.io (#901)
Browse files Browse the repository at this point in the history
Coverage reported by first build and only Linux
  • Loading branch information
MarkEWaite committed Jan 19, 2023
1 parent 16cb05b commit 651cc2a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,16 @@ def testJenkinsVersions = [ '2.361.1', '2.361.2', '2.361.3', '2.361.4', '2.375.1
Collections.shuffle(testJenkinsVersions)

// build with randomized Jenkins versions
subsetConfiguration = [ [ jdk: '11', platform: 'windows', jenkins: testJenkinsVersions[0] ],
subsetConfiguration = [

// Intel Linux is labeled as 'linux' for legacy reasons
// Linux first for coverage report on ci.jenkins.io
[ jdk: '11', platform: 'linux', ],
[ jdk: '17', platform: 'linux', jenkins: testJenkinsVersions[1] ],

// Windows
[ jdk: '11', platform: 'windows', jenkins: testJenkinsVersions[0] ],

// ARM label is Linux also
[ jdk: '11', platform: 'arm64', jenkins: testJenkinsVersions[2] ],
[ jdk: '17', platform: 'arm64', jenkins: testJenkinsVersions[3] ],
Expand All @@ -38,8 +42,8 @@ if (env.JENKINS_URL.contains('markwaite.net')) {
artifactCachingProxyEnabled: true,
// Test Java 11 with a recent LTS, Java 17 even more recent
configurations: [
[platform: 'linux', jdk: '11'], // Linux first for coverage report on ci.jenkins.io
[platform: 'windows', jdk: '17', jenkins: '2.384'],
[platform: 'linux', jdk: '11']
]
)
}

0 comments on commit 651cc2a

Please sign in to comment.