HMBXR5601-827 - Add package publish operations

This commit is contained in:
Dan Hawkins 2019-08-27 15:51:48 +01:00
commit d2a12d523e

View file

@ -86,6 +86,8 @@ pipeline {
sh """#!/bin/bash -v
aptly repo -config="${APTLY_CONFIG_FILE}" -force-replace add "${REPO_NAME}" "${PACKAGE_FOLDER}"
if [ \$? -ne 0 ]; then exit 1; fi
aptly repo -config="${APTLY_CONFIG_FILE}" show -with-packages "${REPO_NAME}"
if [ \$? -ne 0 ]; then exit 1; fi
"""
}
}