forked from jenkinsci/git-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJenkinsfile
More file actions
15 lines (11 loc) · 688 Bytes
/
Copy pathJenkinsfile
File metadata and controls
15 lines (11 loc) · 688 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env groovy
import java.util.Collections
// Valid Jenkins versions for test
def testJenkinsVersions = [ '2.204.1', '2.204.6', '2.222.4', '2.235.1', '2.243' ]
Collections.shuffle(testJenkinsVersions)
// Test plugin compatibility to subset of Jenkins versions
subsetConfiguration = [ [ jdk: '8', platform: 'windows', jenkins: testJenkinsVersions[0], javaLevel: '8' ],
[ jdk: '8', platform: 'linux', jenkins: testJenkinsVersions[1], javaLevel: '8' ],
[ jdk: '11', platform: 'linux', jenkins: testJenkinsVersions[2], javaLevel: '8' ]
]
buildPlugin(configurations: subsetConfiguration, failFast: false)