From c7dfcd5e1eeb3f86c7769b29428151c359820dc4 Mon Sep 17 00:00:00 2001 From: Matt Pavlovich Date: Thu, 12 Jan 2023 09:19:34 -0600 Subject: [PATCH] [#8133] Add s390x as a parameter for Jenkins --- Jenkinsfile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index b4df07c3bb1..80db4d50081 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -22,8 +22,8 @@ pipeline { agent { - node { - label 'ubuntu' + label { + label params.nodeLabel } } @@ -41,9 +41,14 @@ pipeline { disableConcurrentBuilds() } + parameters { + choice(name: 'nodeLabel', choices: ['ubuntu', 's390x']) + } + stages { stage('Initialization') { steps { + echo "running on ${env.NODE_NAME}" echo 'Building branch ' + env.BRANCH_NAME echo 'Using PATH ' + env.PATH }