From: beierlm Date: Thu, 3 Jun 2021 18:01:05 +0000 (-0400) Subject: Feature 10296 X-Git-Tag: v9.1.2~3 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F51%2F10951%2F1;p=osm%2Fdevops.git Feature 10296 Added missing logic for apt pool, missing from commit 41165ed Change-Id: I7ef809809c115f4af22f9435dd28ac0ec0669505 Signed-off-by: beierlm --- diff --git a/jenkins/ci-pipelines/ci_stage_3.groovy b/jenkins/ci-pipelines/ci_stage_3.groovy index 2d19075c..f4502de5 100644 --- a/jenkins/ci-pipelines/ci_stage_3.groovy +++ b/jenkins/ci-pipelines/ci_stage_3.groovy @@ -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"