]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-dev-pipeline: Work around Jenkins symlink issue 2446/head
authorZack Cerza <zack@cerza.org>
Thu, 18 Sep 2025 21:06:42 +0000 (15:06 -0600)
committerZack Cerza <zack@cerza.org>
Thu, 18 Sep 2025 21:06:42 +0000 (15:06 -0600)
Signed-off-by: Zack Cerza <zack@cerza.org>
ceph-dev-pipeline/build/Jenkinsfile

index 5ee07f38210815c1097bbfb4bf1d644e895ffc59..dc0fdf3f0f75673f266bcf0218171a95fa8afa8f 100644 (file)
@@ -511,6 +511,11 @@ pipeline {
                         ln dist/ceph/sccache_log.txt sccache_log_${env.DIST}_${env.ARCH}_${env.FLAVOR}.txt
                       fi
                     """
+                    // The below is to work around an issue where Jenkins would recurse into
+                    // dist/ceph/qa and get stuck trying to follow the .qa symlinks. This was
+                    // discovered by seeing many messages about "too many levels of symbolic links"
+                    // in the system journal.
+                    sh "find ${env.WORKSPACE}/dist/ceph/ -name .qa -exec rm {} \;"
                     archiveArtifacts(
                       artifacts: 'sccache_log*.txt',
                       allowEmptyArchive: true,