• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • analysis-model
    • None
    • jenkins 2.387.1
      warnings-ng 10.0.2

      we are using warnings-ng plugin on jenkins to visualize the result of IntelliJ-Idea-Inspections. Our observation:

      • jobs, which reported inspection-results with an older version of the plugin, still allow sorting for module/package/file/categories/issues.
      • jobs, which report inspection-results with version 10.0.2 of the plugin, don't allow sorting for module anymore - only for package/file/categories/issues.
      • the provided information (input for the plugin as xml-file) is identical.
         

      Problem imho is in the file idea-outstanding-issues.xml, 

      old (with ability to sort for modules):

      <analysisReport plugin="analysis-model-api@10.21.0">
      ...
      <subReports>
          <analysisReport>
          ...
          <elements class="linked-hash-set">
              <issue>
              ...
      {color:#de350b}          <moduleName>base-ls</moduleName>{color}
      

                
      new (without ability for sort for modules):

      <analysisReport plugin="analysis-model-api@11.0.0">
      ...
      <subReports>
          <analysisReport>
          ...
          <elements class="linked-hash-set">
              <issue>
              ...
      {color:#de350b}          <moduleName>-</moduleName>{color}
      

      the module probably gets parsed from the provided xml-files for each entry:

      <problems>
      <problem>
        ...
        <module>KIXCustomer.base-ls.main</module>
        ...
      </problem>
      

      assumptions:

      • as the module information is '-' for all entries, sorting for modules is not a valid option, therefore there is no button.
      • problem is in parsing module-information from input file.
         
        we would be glad, if sorting for modules is possible again.

       

          [JENKINS-70801] Module information not available anymore

          oliva imlinga created issue -
          Ulli Hafner made changes -
          Component/s New: analysis-model [ 23523 ]
          Summary Original: since 10.0.2 module information gets lost from provided warnings (xml). New: Module information not available anymore
          Ulli Hafner made changes -
          Description Original: hello,

          we are using warnings-ng plugin on jenkins to visualize the result of IntelliJ-Idea-Inspections. Our observation:
           * jobs, which reported inspection-results with an older version of the plugin, still allow sorting for module/package/file/categories/issues.
           * jobs, which report inspection-results with version 10.0.2 of the plugin, don't allow sorting for module anymore - only for package/file/categories/issues.
           * the provided information (input for the plugin as xml-file) is identical.

           

          Problem imho is in the file idea-outstanding-issues.xml, 

          *old* (with ability to sort for modules):
          <analysisReport plugin="analysis-model-api@10.21.0">
          ...
          <subReports>
              <analysisReport>
              ...
              <elements class="linked-hash-set">
                  <issue>
                  ...
          {color:#de350b}          <moduleName>base-ls</moduleName>{color}
                    
          *new* (without ability for sort for modules):
          <analysisReport plugin="analysis-model-api@11.0.0">
          ...
          <subReports>
              <analysisReport>
              ...
              <elements class="linked-hash-set">
                  <issue>
                  ...
          {color:#de350b}          <moduleName>-</moduleName>{color}

          the module probably gets parsed from the provided xml-files for each entry:
          <problems>
          <problem>
            ...
            <module>KIXCustomer.base-ls.main</module>
            ...
          </problem>

           

          assumptions:
           * as the module information is '-' for all entries, sorting for modules is not a valid option, therefore there is no button.
           * problem is in parsing module-information from input file.

           

          we would be glad, if sorting for modules is possible again.

           

          tia & best regards,
          oliver
          New: we are using warnings-ng plugin on jenkins to visualize the result of IntelliJ-Idea-Inspections. Our observation:
           * jobs, which reported inspection-results with an older version of the plugin, still allow sorting for module/package/file/categories/issues.
           * jobs, which report inspection-results with version 10.0.2 of the plugin, don't allow sorting for module anymore - only for package/file/categories/issues.
           * the provided information (input for the plugin as xml-file) is identical.
           

          Problem imho is in the file idea-outstanding-issues.xml, 

          *old* (with ability to sort for modules):
          {code}
          <analysisReport plugin="analysis-model-api@10.21.0">
          ...
          <subReports>
              <analysisReport>
              ...
              <elements class="linked-hash-set">
                  <issue>
                  ...
          {color:#de350b}          <moduleName>base-ls</moduleName>{color}
          {code}
                    
          *new* (without ability for sort for modules):
          {code}
          <analysisReport plugin="analysis-model-api@11.0.0">
          ...
          <subReports>
              <analysisReport>
              ...
              <elements class="linked-hash-set">
                  <issue>
                  ...
          {color:#de350b}          <moduleName>-</moduleName>{color}
          {code}

          the module probably gets parsed from the provided xml-files for each entry:
          {code}
          <problems>
          <problem>
            ...
            <module>KIXCustomer.base-ls.main</module>
            ...
          </problem>
          {code}


          assumptions:
           * as the module information is '-' for all entries, sorting for modules is not a valid option, therefore there is no button.
           * problem is in parsing module-information from input file.
           
          we would be glad, if sorting for modules is possible again.

           
          Ulli Hafner made changes -
          Component/s Original: warnings-ng-plugin [ 24526 ]
          oliva imlinga made changes -
          Attachment New: settings.gradle.kts [ 60158 ]
          Ulli Hafner made changes -
          Released As New: https://github.com/jenkinsci/analysis-model/releases/tag/v11.1.0
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Fixed but Unreleased [ 10203 ]
          Ulli Hafner made changes -
          Status Original: Fixed but Unreleased [ 10203 ] New: Resolved [ 5 ]
          Ulli Hafner made changes -
          Assignee Original: Ulli Hafner [ drulli ] New: oliva imlinga [ oi ]
          Ulli Hafner made changes -
          Remote Link New: This issue links to "PR #911 (Web Link)" [ 28555 ]
          oliva imlinga made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

            oi oliva imlinga
            oi oliva imlinga
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: