From 00a160c1fad6e7533ed5b975520b9b110367dca8 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 3 Dec 2024 18:25:55 +0000 Subject: [PATCH] jenkins: Compress Packages/Sources using xz Signed-off-by: Michael Tremer --- Jenkinsfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 370b9a794..6fe1c7312 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -336,10 +336,18 @@ pipeline { sh "dpkg-scanpackages pool/${DISTRO}/main/${ARCH} \ > dists/${DISTRO}/main/binary-${ARCH}/Packages" + // Compress Packages + sh "xz -v9 < dists/${DISTRO}/main/binary-${ARCH}/Packages \ + > dists/${DISTRO}/main/binary-${ARCH}/Packages.xz" + // Generate Sources sh "dpkg-scansources pool/${DISTRO}/main/${ARCH} \ > dists/${DISTRO}/main/source/Sources" + // Compress Sources + sh "xz -v9 < dists/${DISTRO}/main/source/Sources \ + > dists/${DISTRO}/main/source/Sources.xz" + // Stash the packages stash includes: "dists/**/*, pool/**/*", name: "${DISTRO}-${ARCH}" -- 2.39.5