Closed varGeneric closed 4 years ago
The example configuration does not work for me as my job returns a fully lower-case "success"/"failure"/"cancelled". It appears that the script checks for "Success" with a capital S which causes my job to be reported as status unknown.
Proposed fix is to just convert the input string to lower case and check against lower case versions of the current strings.
Would you like to open a PR?
Opened #14.
The example configuration does not work for me as my job returns a fully lower-case "success"/"failure"/"cancelled". It appears that the script checks for "Success" with a capital S which causes my job to be reported as status unknown.
Proposed fix is to just convert the input string to lower case and check against lower case versions of the current strings.