]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-dev-pipeline: Correct compile-skipping 2577/head
authorZack Cerza <zack@cerza.org>
Fri, 8 May 2026 19:32:34 +0000 (13:32 -0600)
committerZack Cerza <zack@cerza.org>
Fri, 8 May 2026 19:32:34 +0000 (13:32 -0600)
We were erroneously skipping the container phase in some cases.

Signed-off-by: Zack Cerza <zack@cerza.org>
ceph-dev-pipeline/build/Jenkinsfile

index 7ac9abb406a3ebaf3303333cf411e047e6f8ba50..db61bd4ba0d84d0ca96c220cb51d4c047c03cc4f 100644 (file)
@@ -183,10 +183,7 @@ pipeline {
             expression { env.FLAVORS.contains(env.FLAVOR) }
             anyOf {
               environment name: "CI_COMPILE", value: "true"
-              allOf {
-                environment name: "CI_CONTAINER", value: "true"
-                environment name: "DIST", value: "centos9"
-              }
+              expression { env.CI_CONTAINER == 'true' && container_distros.contains(env.DIST) }
             }
           }
         }