Add use of post build info json
This commit is contained in:
parent
951d694051
commit
a5b06d79a9
1 changed files with 6 additions and 2 deletions
|
|
@ -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]) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue