@@ -120,18 +120,18 @@ stage('Build') {
120120 // This list can be updated with the following command:
121121 // make show-linux | jq -r '.target | keys[]' | sort
122122 def images = [
123- // 'alpine_jdk17',
124- // 'alpine_jdk21',
125- // 'alpine_jdk25',
126- // 'debian_jdk17',
127- // 'debian_jdk21',
128- // 'debian_jdk25',
129- // 'debian-slim_jdk17',
130- // 'debian-slim_jdk21',
131- // 'debian-slim_jdk25',
132- // 'rhel_jdk17',
133- // 'rhel_jdk21',
134- // 'rhel_jdk25',
123+ ' alpine_jdk17' ,
124+ ' alpine_jdk21' ,
125+ ' alpine_jdk25' ,
126+ ' debian_jdk17' ,
127+ ' debian_jdk21' ,
128+ ' debian_jdk25' ,
129+ ' debian-slim_jdk17' ,
130+ ' debian-slim_jdk21' ,
131+ ' debian-slim_jdk25' ,
132+ ' rhel_jdk17' ,
133+ ' rhel_jdk21' ,
134+ ' rhel_jdk25' ,
135135 ]
136136 for (i in images) {
137137 def imageToBuild = i
@@ -172,23 +172,23 @@ stage('Build') {
172172 }
173173 }
174174 }
175- // // Building every other architectures than amd64 on agents with the corresponding labels if available
176- // architecturesAndCiJioAgentLabels.findAll { arch, _ -> arch != 'amd64' }.each { architecture, labels ->
177- // builds[architecture] = {
178- // nodeWithTimeout(labels) {
179- // stage('Checkout') {
180- // deleteDir()
181- // checkout scm
182- // }
183- // // sanity check that proves all images build on declared platforms not already built in other stages
184- // stage("Multi arch build - ${architecture}") {
185- // infra.withDockerCredentials {
186- // sh "make docker-init listarch-${architecture} buildarch-${architecture}"
187- // }
188- // }
189- // }
190- // }
191- // }
175+ // Building every other architectures than amd64 on agents with the corresponding labels if available
176+ architecturesAndCiJioAgentLabels. findAll { arch , _ -> arch != ' amd64' }. each { architecture , labels ->
177+ builds[architecture] = {
178+ nodeWithTimeout(labels) {
179+ stage(' Checkout' ) {
180+ deleteDir()
181+ checkout scm
182+ }
183+ // sanity check that proves all images build on declared platforms not already built in other stages
184+ stage(" Multi arch build - ${ architecture} " ) {
185+ infra. withDockerCredentials {
186+ sh " make docker-init listarch-${ architecture} buildarch-${ architecture} "
187+ }
188+ }
189+ }
190+ }
191+ }
192192 } else {
193193 // Only publish when a tag triggered the build
194194 if (env. TAG_NAME ) {
0 commit comments