CORE-348 - Provide a script that can obtain a package from a release repo

This commit is contained in:
Dan Hawkins 2022-01-09 16:42:49 +00:00
commit 05f9c1b870

View file

@ -51,9 +51,9 @@ pipeline {
def packageimportoptions = importer.getNewImportOptions()
// For backward compatibility - in case these parameters are not supplied
def packagelocation = params[PACKAGE_LOCATION] ?: 'Jenkins job artifact'
def packagereleaserepo = params[PACKAGE_RELEASE_REPO] ?: ''
def packagereleaserevision = params[PACKAGE_RELEASE_REVISION] ?: ''
def packagelocation = params['PACKAGE_LOCATION'] ?: 'Jenkins job artifact'
def packagereleaserepo = params['PACKAGE_RELEASE_REPO'] ?: ''
def packagereleaserevision = params['PACKAGE_RELEASE_REVISION'] ?: ''
packageimportoptions.source(packagelocation,
PACKAGE_CREATE_JOB,
PACKAGE_CREATE_JOB_SELECTOR,