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

Don't output multiple warnings for duplicated code

    Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: dry-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      I would prefer that the plug-in just picked one and skipped the other warnings. Think of a warning as a set of duplicated code:
      file A line x
      file B line y
      file C line z
      This is currently 3 warnings, but should only be 1 warning and should be detectable. I don't care which warning is in the heading, as long as all information is accessible through the warning.

        Attachments

          Issue Links

            Activity

            jpschewe jpschewe created issue -
            drulli Ulli Hafner made changes -
            Field Original Value New Value
            Priority Major [ 3 ] Minor [ 4 ]
            drulli Ulli Hafner made changes -
            Link This issue is duplicated by JENKINS-12738 [ JENKINS-12738 ]
            scm_issue_link SCM/JIRA link daemon made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            drulli Ulli Hafner made changes -
            Link This issue is related to JENKINS-16688 [ JENKINS-16688 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 141602 ] JNJira + In-Review [ 189710 ]

              People

              • Assignee:
                drulli Ulli Hafner
                Reporter:
                jpschewe jpschewe
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: