Branch: refs/heads/master Home: https://github.com/jenkinsci/robot-plugin Commit: 8b606f6ced2f973f483b15d5919dd1b805c80698 https://github.com/jenkinsci/robot-plugin/commit/8b606f6ced2f973f483b15d5919dd1b805c80698 Author: Tattoo <tatu.ka...@gmail.com> Date: 2023-02-27 (Mon, 27 Feb 2023)
Changed paths: M src/main/java/hudson/plugins/robot/model/RobotTestObject.java M src/test/java/hudson/plugins/robot/model/RobotResultTest.java A src/test/resources/hudson/plugins/robot/model/robot4_empty_suite_name.xml Log Message: ----------- Fixes JENKINS-69807 In RF4, suite name in output.xml might be non-existent in some cases (see more below [*]). In these cases, `RobotTestObject.getName()` returned null as well, which became problem for `RobotTestObject.getRelativePackageName()`. Handle null from `getName()` as an empty string. [*] RF uses double underscore ('__') in suite name as a separator as per https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#test-suite-name-and-documentation If user has named their suite so it ends with double undercore (eg. suite__.robot), suite name is of course empty. Before RF5, this meant output.xml's <suite> tag did not get name-attribute at all; hence the null. Commit: 90aafd707cb6d7cb229cd2216aaaf53afb92f5f4 https://github.com/jenkinsci/robot-plugin/commit/90aafd707cb6d7cb229cd2216aaaf53afb92f5f4 Author: Tatu Kairi <280218+tat...@users.noreply.github.com> Date: 2023-03-14 (Tue, 14 Mar 2023) Changed paths: M src/main/java/hudson/plugins/robot/model/RobotTestObject.java M src/test/java/hudson/plugins/robot/model/RobotResultTest.java A src/test/resources/hudson/plugins/robot/model/robot4_empty_suite_name.xml Log Message: ----------- Merge pull request #58 from jenkinsci/JENKINS-69807 Compare: https://github.com/jenkinsci/robot-plugin/compare/693e6a2ce8c7...90aafd707cb6 -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/robot-plugin/push/refs/heads/master/693e6a-90aafd%40github.com.