Refactor groovy calling test script using newer common script apis; Capture build parameters
This commit is contained in:
parent
baacfdb417
commit
6299b7e715
1 changed files with 3 additions and 3 deletions
|
|
@ -70,7 +70,7 @@ def setBuildType(meta, boolean dofullbuild = true) {
|
|||
return doquickbuild
|
||||
}
|
||||
|
||||
def setupmeta(String productname, String subcomponentname, String productvariant = '') {
|
||||
def setupmeta(script, String productname, String subcomponentname, String productvariant = '') {
|
||||
def meta = getmetafolderscript().metareset(script)
|
||||
echo "Product name: ${productname} Subcomponent name: ${subcomponentname} Variant: ${productvariant}"
|
||||
meta.productinfo.set(productname, subcomponentname, productvariant)
|
||||
|
|
@ -101,7 +101,7 @@ def startbuild(
|
|||
|
||||
conditionalclean()
|
||||
|
||||
def meta = setupmeta(productname, subcomponentname, productvariant)
|
||||
def meta = setupmeta(script, productname, subcomponentname, productvariant)
|
||||
|
||||
def rr = load("${commonscripts()}/release/registerrepo.groovy")
|
||||
def String alteredreleaserepo = alterreleaserepo(releaserepo, productvariant)
|
||||
|
|
@ -129,7 +129,7 @@ def startnonbuild(
|
|||
|
||||
conditionalclean()
|
||||
|
||||
def meta = setupmeta("Non-build-product", "Non-build-subcomponent")
|
||||
def meta = setupmeta(script, "Non-build-product", "Non-build-subcomponent")
|
||||
|
||||
def ch = load("${commonscripts()}/configuration/configuration.groovy")
|
||||
ch.registerPipelineScriptConfiguration(meta)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue