Feature 10296 51/10951/1
authorbeierlm <mark.beierl@canonical.com>
Thu, 3 Jun 2021 18:01:05 +0000 (14:01 -0400)
committerbeierlm <mark.beierl@canonical.com>
Thu, 3 Jun 2021 18:01:05 +0000 (14:01 -0400)
Added missing logic for apt pool, missing from commit 41165ed

Change-Id: I7ef809809c115f4af22f9435dd28ac0ec0669505
Signed-off-by: beierlm <mark.beierl@canonical.com>
jenkins/ci-pipelines/ci_stage_3.groovy

index 2d19075..f4502de 100644 (file)
@@ -253,8 +253,10 @@ node("${params.NODE}") {
 ///////////////////////////////////////////////////////////////////////////////////////
 // Create APT repository
 ///////////////////////////////////////////////////////////////////////////////////////
-                    for ( component in [ "devops" ] ) {
-                        sh "mv ${component}/pool/${component} pool"
+                    sh "mkdir -p pool"
+                    for (component in [ "devops", "IM", "osmclient" ]) {
+                        sh "ls -al ${component}/pool/"
+                        sh "cp -r ${component}/pool/* pool/"
                         sh "dpkg-sig --sign builder -k ${GPG_KEY_NAME} pool/${component}/*"
                         sh "mkdir -p dists/${params.REPO_DISTRO}/${component}/binary-amd64/"
                         sh "apt-ftparchive packages pool/${component} > dists/${params.REPO_DISTRO}/${component}/binary-amd64/Packages"