HMBXR5601-827 - Add package publish operations

This commit is contained in:
Dan Hawkins 2019-08-27 15:46:25 +01:00
commit 6684ef24f0

View file

@ -84,7 +84,7 @@ pipeline {
script {
echo "Package folder is ${PACKAGE_FOLDER}"
sh """#!/bin/bash -v
aptly repo -config="${APTLY_CONFIG_FILE}" -force-replace add "${PACKAGE_FOLDER}"
aptly repo -config="${APTLY_CONFIG_FILE}" -force-replace add "${REPO_NAME}" "${PACKAGE_FOLDER}"
if [ \$? -ne 0 ]; then exit 1; fi
"""
}