From 35d3862b258b00125f4978a295bb90be383b0ffd Mon Sep 17 00:00:00 2001 From: Dan Hawkins Date: Sat, 26 Feb 2022 15:40:36 +0000 Subject: [PATCH] Debugging script --- product/info.groovy | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/product/info.groovy b/product/info.groovy index 23f898d..c598bbf 100644 --- a/product/info.groovy +++ b/product/info.groovy @@ -5,7 +5,6 @@ rt = load("${autobuilder.commonscripts()}/release/tag.groovy") class ProductDependency { private script - private rtscript private String productvariant private String releaserepo private String releasetag @@ -17,22 +16,15 @@ class ProductDependency { String releasetag, String releaserepo) { this.script = script - this.rtscript = rtscript this.productvariant = productvariant this.releaserepo = releaserepo - this.releasetag = releasetag - this.releasestate = '' - } - - def setreleasestate() { def LinkedHashMap results = rtscript.startswithspecialprefix(releasetag) - script.echo("results is: ${results.dump()}") if (results.hasspecialprefix) { - releasetag = results.tagwithoutprefix - releasestate = results.prefixfound + this.releasetag = results.tagwithoutprefix + this.releasestate = results.prefixfound } else { - releasetag = results.tagwithoutprefix - releasestate = '' + this.releasetag = results.tagwithoutprefix + this.releasestate = '' } } } @@ -186,7 +178,6 @@ def iterateinitialproductrepos(script, productvariant, releasetag, releaserepo) - pd.setreleasestate() script.echo("pd is: ${pd.dump()}") /*