Skip to content

Commit

Permalink
Add Windows build (#422)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtnord committed Jan 10, 2023
1 parent 0e627cd commit 9c95c05
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ properties([
def runTests(Map params = [:]) {
return {
def agentContainerLabel = 'maven-' + params['jdk']
boolean publishing = params['jdk'] == 11
if (params['platform'] == 'windows') {
agentContainerLabel += '-windows'
}
boolean publishing = params['jdk'] == 11 && params['platform'] == 'linux'
node(agentContainerLabel) {
timeout(time: 1, unit: 'HOURS') {
def stageIdentifier = params['platform'] + '-' + params['jdk']
Expand Down Expand Up @@ -37,6 +40,7 @@ def runTests(Map params = [:]) {
}

parallel(
'windows-11': runTests(platform: 'windows', jdk: 11),
'linux-11': runTests(platform: 'linux', jdk: 11),
'linux-17': runTests(platform: 'linux', jdk: 17)
)
Expand Down

0 comments on commit 9c95c05

Please sign in to comment.