Quick patch to add distribution (default to unstable) to archive 31/1631/1
authorAdam Israel <adam.israel@canonical.com>
Fri, 21 Apr 2017 12:51:30 +0000 (08:51 -0400)
committerAdam Israel <adam.israel@canonical.com>
Fri, 21 Apr 2017 12:52:06 +0000 (08:52 -0400)
Signed-off-by: Adam Israel <adam.israel@canonical.com>
Jenkinsfile

index f6f9a71..245308c 100644 (file)
@@ -19,9 +19,9 @@ pipeline {
                                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"
                        }