You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ma...@apache.org on 2023/01/14 20:14:08 UTC
[activemq] branch main updated: [#8133] Add s390x as a parameter for Jenkins (#956)
This is an automated email from the ASF dual-hosted git repository.
mattrpav pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq.git
The following commit(s) were added to refs/heads/main by this push:
new c58286487 [#8133] Add s390x as a parameter for Jenkins (#956)
c58286487 is described below
commit c58286487d08d155496e571db649f047bd979630
Author: Matt Pavlovich <ma...@hyte.io>
AuthorDate: Sat Jan 14 14:14:00 2023 -0600
[#8133] Add s390x as a parameter for Jenkins (#956)
---
Jenkinsfile | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index b4df07c3b..80db4d500 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
}