Skip to content

Commit

Permalink
Use forkCount in Jenkinsfile (#345)
Browse files Browse the repository at this point in the history
  • Loading branch information
strangelookingnerd authored Jun 20, 2024
1 parent e8d4365 commit c0ca7dd
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
// Builds the plugin using https://github.com/jenkins-infra/pipeline-library
buildPlugin(useContainerAgent: true, configurations: [
// Test the minimum required Jenkins Version.
[ platform: 'linux', jdk: '11', jenkins: null ],
[ platform: 'windows', jdk: '17', jenkins: null ],

// Test latest Jenkins Version.
[ platform: 'linux', jdk: '21', jenkins: '2.463' ]
buildPlugin(
forkCount: '1C',
useContainerAgent: true,
configurations: [
// Test the minimum required Jenkins Version.
[ platform: 'linux', jdk: '11', jenkins: null ],
[ platform: 'windows', jdk: '17', jenkins: null ],

// Test latest Jenkins Version.
[ platform: 'linux', jdk: '21', jenkins: '2.463' ]
])

0 comments on commit c0ca7dd

Please sign in to comment.