From: Michael Tremer Date: Tue, 3 Dec 2024 18:25:55 +0000 (+0000) Subject: jenkins: Compress Packages/Sources using xz X-Git-Tag: 0.9.30~774 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00a160c1fad6e7533ed5b975520b9b110367dca8;p=pakfire.git jenkins: Compress Packages/Sources using xz Signed-off-by: Michael Tremer --- 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}"