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

RFLINT parser does not parse the Category correctly

    • warnings-ng 4.0.0, analysis-model-api 3.0.0

      The default Robot Framework Linter (rflint) parser output is as follows:

      + ./tests/component/ares.robot
      E: 7, 0: Custom Library Name mismatch (CustomLibraryNaming)
      E: 9, 0: Custom Library Name mismatch (CustomLibraryNaming)
      E: 1, 0: The Remote Library is not the first library imported (SettingsOrder)
      E: 1, 0: Standard libraries are imported after external libraries (SettingsOrder)
      + ./tests/component/fault.robot
      W: 634, 150: Line is too long (exceeds 150 characters) (LineTooLong)
      

       
      The structure is as follows
       

      + <filename>
      <severity>: <linenumber>, <char>: <message> (<rulename>)
      

       
      Currently, when the default rflint lint results is used in the Warnings NG plugin, the plugin UI maps has an incorrect value for the Category field as the rflint severity is used instead of the rflint rulename.

       

          [JENKINS-56393] RFLINT parser does not parse the Category correctly

          Bassam Khouri added a comment -

          Bassam Khouri added a comment - A PR has been posted: https://github.com/jenkinsci/analysis-model/pull/117

          Bassam Khouri added a comment -

          Closing as change has been merged.

          Bassam Khouri added a comment - Closing as change has been merged.

            bassam_khouri Bassam Khouri
            bassam_khouri Bassam Khouri
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: