From 618209343ab3013ef2ee24cd767fec65bc28f498 Mon Sep 17 00:00:00 2001 From: Kezhi Xiong Date: Tue, 22 Dec 2020 23:47:53 +0800 Subject: [PATCH] Jenkinsfile: only build on linux (#62) --- 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)