Skip to content

Commit e617327

Browse files
committed
Use standard Jenkinsfile
The custom Jenkinsfile has not detected any issues since it was first created. Maintaining the version list is a distraction. Simpler is better.
1 parent 9f3b738 commit e617327

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

Jenkinsfile

-32
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,3 @@
1-
#!groovy
2-
3-
import java.util.Collections
4-
5-
if (env.JENKINS_URL.contains('markwaite.net')) {
6-
// Valid Jenkins versions for markwaite.net test
7-
def testJenkinsVersions = [ '2.479.1', '2.479.2', '2.479.3', '2.484', '2.485', '2.486', '2.487', '2.488', '2.489', '2.490', '2.491', '2.492']
8-
Collections.shuffle(testJenkinsVersions)
9-
10-
// build with randomized Jenkins versions
11-
subsetConfiguration = [
12-
13-
// Intel Linux is labeled as 'linux' for legacy reasons
14-
// Linux first for coverage report on ci.jenkins.io
15-
[ jdk: 21, platform: 'linux', ],
16-
[ jdk: 17, platform: 'linux', jenkins: testJenkinsVersions[0] ],
17-
18-
// Windows
19-
[ jdk: 17, platform: 'windows', jenkins: testJenkinsVersions[1] ],
20-
21-
// s390x label is also Linux
22-
[ jdk: 17, platform: 's390x', jenkins: testJenkinsVersions[2] ],
23-
[ jdk: 21, platform: 's390x', jenkins: testJenkinsVersions[3] ],
24-
]
25-
26-
// Use advanced buildPlugin on markwaite.net
27-
buildPlugin(configurations: subsetConfiguration, failFast: false, forkCount: '1C')
28-
return
29-
}
30-
31-
// Use simple buildPlugin elsewhere
32-
331
/*
342
See the documentation for more options:
353
https://github.com/jenkins-infra/pipeline-library/

0 commit comments

Comments
 (0)