MINOR: Disable ARM builds
Also add an additional stage to ARM and PowerPC builds which will fail-fast if the agent is not available.
Reviewers: Jason Gustafson
@@ -162,14 +162,31 @@ pipeline {
}
stage('ARM') {
- agent { label 'arm4' }
+ // Remove this once infra is fixed. See INFRA-23305 and KAFKA-13941
+ when {
+ expression { false }
+ }
options {
- timeout(time: 2, unit: 'HOURS')
timestamps()
}
environment {
SCALA_VERSION=2.12
}
+ stages {
+ stage('Check ARM Agent') {
+ agent { label 'arm4' }
+ options {
+ timeout(time: 5, unit: 'MINUTES')
+ }
+ steps {
+ echo 'ARM ok'
+ }
+ }
+ stage('Run ARM Build') {
+ agent { label 'arm4' }
+ options {
+ timeout(time: 2, unit: 'HOURS')
+ }
steps {
doValidation()
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
@@ -178,16 +195,31 @@ pipeline {
echo 'Skipping Kafka Streams archetype test for ARM build'
}
}
+ }
+ }
stage('PowerPC') {
- agent { label 'ppc64le' }
options {
- timeout(time: 2, unit: 'HOURS')
timestamps()
}
environment {
SCALA_VERSION=2.12
}
+ stages {
+ stage('Check PowerPC Agent') {
+ agent { label 'ppc64le' }
+ options {
+ timeout(time: 5, unit: 'MINUTES')
+ }
+ steps {
+ echo 'PowerPC ok'
+ }
+ }
+ stage('Run PowerPC Build') {
+ agent { label 'ppc64le' }
+ options {
+ timeout(time: 2, unit: 'HOURS')
+ }
steps {
doValidation()
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
@@ -196,6 +228,8 @@ pipeline {
echo 'Skipping Kafka Streams archetype test for PowerPC build'
}
}
+ }
+ }
// To avoid excessive Jenkins resource usage, we only run the stages
// above at the PR stage. The ones below are executed after changes
