From 35fffabfafdacc22755682dc0b06191613db392f Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 3 Dec 2024 18:31:37 +0000 Subject: [PATCH] jenkins: Generate Contents Signed-off-by: Michael Tremer --- Jenkinsfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 6fe1c7312..ef949538d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -348,6 +348,14 @@ pipeline { sh "xz -v9 < dists/${DISTRO}/main/source/Sources \ > dists/${DISTRO}/main/source/Sources.xz" + // Generate Contents + sh "apt-ftparchive contents pool/${DISTRO}/main/${ARCH} \ + > dists/${DISTRO}/main/Contents-${ARCH}" + + // Compress Contents + sh "xz -v9 < dists/${DISTRO}/main/Contents-${ARCH} \ + > dists/${DISTRO}/main/Contents-${ARCH}.xz" + // Stash the packages stash includes: "dists/**/*, pool/**/*", name: "${DISTRO}-${ARCH}" -- 2.39.5