Create a script for publishing a set of debian packages to a remote update server
This commit is contained in:
parent
7e987f0a51
commit
2c11a0cea7
1 changed files with 2 additions and 2 deletions
|
|
@ -33,7 +33,7 @@ def boolean packagecollection_exists() {
|
|||
|
||||
def packagecollection_set(String jsontext) {
|
||||
packagecollection = readJSON(text: jsontext)
|
||||
echo "Package collection info:\n${asJsonText(packagecollection)}"
|
||||
echo "Package collection info:\n${asJsonText(packagecollection)}\nType:\n${packagecollection.getClass()}"
|
||||
}
|
||||
|
||||
def packagecollection_get() {
|
||||
|
|
@ -71,7 +71,7 @@ pipeline {
|
|||
debpackagecollection = packagecollection_get()
|
||||
|
||||
for (packagekey in debpackagecollection['packages'].keySet()) {
|
||||
def debpackageinfo = debpackagecollection[packagekey]
|
||||
def debpackageinfo = debpackagecollection['packages'][packagekey]
|
||||
echo "Processing package: ${packagekey}\n${debpackageinfo}"
|
||||
|
||||
def packagedest = "${PACKAGEDEST}/${packagekey}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue