Skip to content

Commit de4769d

Browse files
committed
ceph-dev-pipeline/build/Jenkinsfile: Skip debug containers
#2497 introduced a debug flavor. This seems to cause conflicts with the image being pushed to quay as one of the flavors might override the other. One possible solution to this would be to name the debug images differently. However, since the current behavior might cause unexpected testing results. Skip building containers for debug builds at all. Signed-off-by: Matan Breizman <mbreizma@redhat.com>
1 parent 05109ee commit de4769d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ceph-dev-pipeline/build/Jenkinsfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,8 @@ pipeline {
357357
DOCKER_HUB_CREDS = credentials('dgalloway-docker-hub')
358358
}
359359
when {
360-
expression { return build_matrix["${DIST}_${ARCH}"] == true }
360+
// Do not build a conatiner for debug builds
361+
expression { return build_matrix["${DIST}_${ARCH}"] == true && env.FLAVOR != 'debug' }
361362
}
362363
steps {
363364
script {

0 commit comments

Comments
 (0)