Pass script object to custom objects

This commit is contained in:
Dan Hawkins 2018-11-19 17:34:40 +00:00
commit ce0643254b

View file

@ -34,7 +34,7 @@ class ProductInfo implements Serializable {
}
}
theProductInfo = new ProductInfo()
theProductInfo = null
def setname(script, productname = PRODUCT_NAME, subcomponentname = SUBCOMPONENT_NAME, jirakey = JIRA_KEY) {
theProductInfo = new ProductInfo(script, productname, subcomponentname, jirakey)