steps {
// Create a repository and generate Packages
- sh """
- mkdir -pv \
- dists/${DISTRO}/main/binary-${ARCH} \
- pool/${DISTRO}/main/${ARCH}
+ sh "mkdir -pv \
+ dists/${DISTRO}/main/binary-${ARCH} \
+ pool/${DISTRO}/main/${ARCH}"
- # Copy all packages
- cp -v uploads/*.deb pool/${DISTRO}/main/${ARCH}
+ // Copy all packages
+ sh "cp -v uploads/*.deb pool/${DISTRO}/main/${ARCH}"
- # Generate Packages.gz
- dpkg-scanpackages pool/${DISTRO}/main/${ARCH} \
- | gzip -9 > dists/${DISTRO}/main/binary-${ARCH}/Packages.gz
- """
+ // Generate Packages.gz
+ sh "dpkg-scanpackages pool/${DISTRO}/main/${ARCH} \
+ | gzip -9 > dists/${DISTRO}/main/binary-${ARCH}/Packages.gz"
// Stash the packages
stash includes: "dists/**/*, pool/**/*",