Skip to content

Commit c582864

Browse files
authored
[#8133] Add s390x as a parameter for Jenkins (#956)
1 parent 8ba765b commit c582864

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Jenkinsfile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
pipeline {
2323

2424
agent {
25-
node {
26-
label 'ubuntu'
25+
label {
26+
label params.nodeLabel
2727
}
2828
}
2929

@@ -41,9 +41,14 @@ pipeline {
4141
disableConcurrentBuilds()
4242
}
4343

44+
parameters {
45+
choice(name: 'nodeLabel', choices: ['ubuntu', 's390x'])
46+
}
47+
4448
stages {
4549
stage('Initialization') {
4650
steps {
51+
echo "running on ${env.NODE_NAME}"
4752
echo 'Building branch ' + env.BRANCH_NAME
4853
echo 'Using PATH ' + env.PATH
4954
}

0 commit comments

Comments
 (0)