From 9c95c05f882e2a50a37e55f5870a8919eb4e1c42 Mon Sep 17 00:00:00 2001 From: James Nord Date: Tue, 10 Jan 2023 15:19:54 +0000 Subject: [PATCH] Add Windows build (#422) --- Jenkinsfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 7c144adc2c..1720b1f6ec 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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'] @@ -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) )