From 539e6be0af17194ffd708c0641dcbcdce69251ff Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Sat, 12 Nov 2022 21:46:30 -0800 Subject: [PATCH] try parallel snap build --- Jenkinsfile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 113f63d..051bba5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,9 +1,15 @@ pipeline { - agent { label 'snaps' } stages { - stage('snap') { - steps { - sh 'snapcraft' + stage('Build snap packages') { + parallel { + stage('Snap ARM64') { + agent { label "snap-arm64" } + steps { sh "snapcraft" } + } + stage('Snap AMD64') { + agent { label "snap-amd64" } + steps { sh "snapcraft" } + } } } }