Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-68628

RobotPublisher's onlyCritical parameter does not work properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • robot-plugin
    • None
    • robot-plugin 3.1.0
      RobotFramework 4.0

      The `onlyCritical` parameter of RobotPublisher does not work correctly because criticality has been obsolete since RobotFramework 4.0.

      If you set `onlyCritical: true`, all the tests are considered non-critical thus the step will always be success status.

       

      Since RobotFramework 4.0, the criticality of tests is removed and does not output the "critical" attribute in output.xml.

      As a result, the critical attribute can no longer be retrieved when parsing ouput.xml, and all tests are determined to be non-critical.

       

      (https://github.com/robotframework/robotframework/issues/3624)

      Other changes include removing the critical attribute from test elements in output.xml and changes to the result related APIs.

       

       

       

       

            aleksisimell Aleksi Simell
            ichi_taro3 Kotaro Ichihara
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: