jenkins pipeline to populate robot test result with exception: Cannot get property 'simpleName' on null object

2018-10-25 Thread Ivan Fernandez Calvo
Try to print the value of the action variable to check tha is correct, also use the Elvis operator. echo “Action: “ + action + “ class: “ + action?.class If("RobotBuildAction".equals(action?.class?.simpleName)) -- You received this message because you are subscribed to the Google Groups

jenkins pipeline to populate robot test result with exception: Cannot get property 'simpleName' on null object

2018-10-25 Thread xuyongdao1978
we use using mail-ext and robot frame work to try to format all test suits detail in jenkins, and send out the report. we are using jenkins pipeline project, and robot test result can be shown on build UI web page. we used now, its downloaded from github,