[#8133] Add s390x as a parameter for Jenkins (#956)

This commit is contained in:
Matt Pavlovich 2023-01-14 14:14:00 -06:00 committed by GitHub
parent 8ba765bbaf
commit c58286487d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 2 deletions

9
Jenkinsfile vendored
View File

@ -22,8 +22,8 @@
pipeline { pipeline {
agent { agent {
node { label {
label 'ubuntu' label params.nodeLabel
} }
} }
@ -41,9 +41,14 @@ pipeline {
disableConcurrentBuilds() disableConcurrentBuilds()
} }
parameters {
choice(name: 'nodeLabel', choices: ['ubuntu', 's390x'])
}
stages { stages {
stage('Initialization') { stage('Initialization') {
steps { steps {
echo "running on ${env.NODE_NAME}"
echo 'Building branch ' + env.BRANCH_NAME echo 'Building branch ' + env.BRANCH_NAME
echo 'Using PATH ' + env.PATH echo 'Using PATH ' + env.PATH
} }