I'd like to print some of the variables coming from robot's publish function, such as ROBOT_PASSRATIO, in the output of a Jenkins declarative script. This is of course written in Groovy.
However, when attempting to interpolate ${ROBOT_PASSRATIO} it comes out as null.
That values and others are also not in the environment variables, either. In non-declarative scripts, they've always been accessible just by calling them with ${}. So where are my variables? Do I need to do something specific to get robot to set them in env?
Check that Editable Email Notification is enabled in your project configuration.
Also make sure to interpolate ROBOT_PASSRATIO
in a separate stage after Robot collects test results.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.