From c3cc84810770622604bb10c643c22ef4075e1a9d Mon Sep 17 00:00:00 2001 From: Kezhi Xiong Date: Tue, 22 Dec 2020 22:22:50 +0800 Subject: [PATCH] Jenkinsfile: only build on linux --- Jenkinsfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index fa390369..7ff12947 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -2,4 +2,8 @@ See the documentation for more options: https://github.com/jenkins-infra/pipeline-library/ */ -buildPlugin(useAci: true) +def configurations = [ + [ platform: "linux", jdk: "8", jenkins: null ], + [ platform: "linux", jdk: "11", jenkins: null, javaLevel: "8" ] +] +buildPlugin(configurations: configurations, useAci: true)