Skip to content

Commit

Permalink
Test recent Jenkins versions
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkEWaite committed Oct 24, 2024
1 parent 0d98e53 commit c6c8bbe
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import java.util.Collections

if (env.JENKINS_URL.contains('markwaite.net')) {
// Valid Jenkins versions for markwaite.net test
def testJenkinsVersions = [ '2.401.3', '2.414.3', '2.426.1', '2.427', '2.428', '2.429', '2.430', '2.431', '2.432' ]
def testJenkinsVersions = [ '2.440.3', '2.452.4', '2.462.3', '2.469', '2.470', '2.471', '2.472', '2.473', '2.474' ]
Collections.shuffle(testJenkinsVersions)

// build with randomized Jenkins versions
Expand All @@ -14,14 +14,13 @@ if (env.JENKINS_URL.contains('markwaite.net')) {
// Linux first for coverage report on ci.jenkins.io
[ jdk: 21, platform: 'linux', ],
[ jdk: 17, platform: 'linux', jenkins: testJenkinsVersions[0] ],
[ jdk: 11, platform: 'linux', jenkins: testJenkinsVersions[1] ],

// Windows
[ jdk: 11, platform: 'windows', jenkins: testJenkinsVersions[2] ],
[ jdk: 17, platform: 'windows', jenkins: testJenkinsVersions[1] ],

// s390x label is also Linux
[ jdk: 11, platform: 's390x', jenkins: testJenkinsVersions[3] ],
[ jdk: 17, platform: 's390x', jenkins: testJenkinsVersions[4] ],
[ jdk: 17, platform: 's390x', jenkins: testJenkinsVersions[2] ],
[ jdk: 21, platform: 's390x', jenkins: testJenkinsVersions[3] ],
]

// Use advanced buildPlugin on markwaite.net
Expand Down

0 comments on commit c6c8bbe

Please sign in to comment.