Add use of post build info json

This commit is contained in:
Dan Hawkins 2021-11-17 21:41:53 +00:00
commit a5b06d79a9

View file

@ -34,9 +34,13 @@
*/
def getActionJobName(postbuildactions, String action, String alternativeparamname) {
def String jobname
def String jobname = ''
if (postbuildactions) {
jobname = postbuildactions[action]['Job']
try {
jobname = postbuildactions[action]['Job']
} catch(Exception ex) {
jobname = ''
}
} else {
if (params[alternativeparamname] != null) {
if (params[alternativeparamname]) {