Create a script for publishing a set of debian packages to a remote update server
This commit is contained in:
parent
9285f75c77
commit
97b31de1b8
1 changed files with 3 additions and 3 deletions
|
|
@ -72,8 +72,8 @@ pipeline {
|
|||
|
||||
debpackagecollection.packages.each { debpackageinfo->
|
||||
def packagekey = debpackageinfo.key
|
||||
echo "Processing package: ${packagekey}"
|
||||
def packagedest = "${PACKAGEDEST}/packagekey"
|
||||
echo "Processing package: ${packagekey}\n${debpackageinfo}"
|
||||
def packagedest = "${PACKAGEDEST}/${packagekey}"
|
||||
|
||||
def packageimportoptions = importer.getNewImportOptions()
|
||||
// For backward compatibility - in case these parameters are not supplied
|
||||
|
|
@ -85,7 +85,7 @@ pipeline {
|
|||
packageimportoptions.setincrementversionnumber(false)
|
||||
packagemeta = importer.artifactimport(meta, packageimportoptions, packagedest)
|
||||
|
||||
PACKAGE_FILE = "${packagedest}/package/${debpackageinfo['Path']}"
|
||||
UNIQUE_PACKAGE_FOLDER = "${packagedest}/package"
|
||||
|
||||
echo "Aptly config file is ${APTLY_CONFIG_FILE}"
|
||||
echo "Repo name is ${REPO_NAME}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue