From 1707919aeab2dbf639fc4dd920d794418053e56f Mon Sep 17 00:00:00 2001 From: Tim Flink Date: Oct 23 2019 20:23:59 +0000 Subject: more fumbling around with these libraries to make them do what I want them to --- diff --git a/vars/buildCheckUtils.groovy b/vars/buildCheckUtils.groovy index b7ce326..549a71a 100644 --- a/vars/buildCheckUtils.groovy +++ b/vars/buildCheckUtils.groovy @@ -6,7 +6,7 @@ class buildCheckUtils implements Serializable { def setupEnvVars(String main_topic) { - env.MAIN_TOPIC = main_topic + this.MAIN_TOPIC = main_topic } /** @@ -79,7 +79,8 @@ class buildCheckUtils implements Serializable { * @return */ def setMessageFields(String messageType, String artifact) { - topic = "${MAIN_TOPIC}.ci.${messageType}" + //topic = "${MAIN_TOPIC}.ci.${messageType}" + topic = "${this.MAIN_TOPIC}.ci.${messageType}" print("Topic is " + topic) // Create a HashMap of default message content keys and values