From 176d6716098d868ce8e165ffb5404b833b8bcd95 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Wed, 10 Jun 2020 08:47:18 +0100 Subject: [PATCH] build: Run musl builds in parallel to glibc builds Run these builds against every PR rather than just master. Signed-off-by: Rob Bradford --- Jenkinsfile | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index d4cbedbd3..697ff26fd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -65,14 +65,25 @@ pipeline{ sh "scripts/dev_cli.sh tests --integration" } } + } + } + stage ('Worker build (musl)') { + agent { node { label 'bionic' } } + options { + timeout(time: 1, unit: 'HOURS') + } + stages { + stage ('Checkout') { + steps { + checkout scm + } + } stage ('Run unit tests for musl') { - when { branch 'master' } steps { sh "scripts/dev_cli.sh tests --unit --libc musl" } } stage ('Run integration tests for musl') { - when { branch 'master' } steps { sh "scripts/dev_cli.sh tests --integration --libc musl" }