From: Michael Tremer Date: Tue, 3 Dec 2024 18:31:37 +0000 (+0000) Subject: jenkins: Generate Contents X-Git-Tag: 0.9.30~773 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=35fffabfafdacc22755682dc0b06191613db392f;p=pakfire.git jenkins: Generate Contents Signed-off-by: Michael Tremer --- 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}"