Signed-off-by: Adam Israel <adam.israel@canonical.com>
sh '''
mkdir -p pool/SO
mv .build/*.deb pool/SO/
- mkdir -p dists/$RELEASE/SO/binary-amd64/
- apt-ftparchive packages pool/SO > dists/$RELEASE/SO/binary-amd64/Packages
- gzip -9fk dists/$RELEASE/SO/binary-amd64/Packages
+ mkdir -p dists/$RELEASE/unstable/SO/binary-amd64/
+ apt-ftparchive packages pool/SO > dists/$RELEASE/unstable/SO/binary-amd64/Packages
+ gzip -9fk dists/$RELEASE/unstable/SO/binary-amd64/Packages
'''
archiveArtifacts artifacts: "dists/**,pool/SO/*.deb"
}