• Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • violations-plugin
    • Jenkins v 1.440 on Windows Server 2008 / Violations Plugin 0.7.10

      I'm building a .NET script in which I have a post build step executing a windows batch command:

      fxcopcmd /file:HelloWorld\bin\HelloWorld.dll /out:fxcop-report.xml /s
      exit 0

      I have check the 'Violations' option and next to the fxcop XML filename pattern, I have placed 'fxcop-report.xml'

      After the build I know there were 14 violations placed in the xml file, but I'm not seeing any results in the graph view of the violations, and when I click on the graph it doesn't even specify out that fxcop was picked up (see screenshot).

      UPDATE: This only affects a maven 2/3 project. If I build a free-style project, I get the violations to show up.

          [JENKINS-12095] Violations plugin not reporting fxcop details

          Nick Schneider created issue -
          Nick Schneider made changes -
          Description Original: I'm building a .NET script in which I have a post build step executing a windows batch command:

          fxcopcmd /file:HelloWorld\bin\HelloWorld.dll /out:bob1.xml /s
          exit 0

          I have check the 'Violations' option and next to the fxcop XML filename pattern, I have placed 'fxcop-report.xml'

          After the build I know there were 14 violations placed in the xml file, but I'm not seeing any results in the graph view of the violations, and when I click on the graph it doesn't even specify out that fxcop was picked up (see screenshot).
          New: I'm building a .NET script in which I have a post build step executing a windows batch command:

          fxcopcmd /file:HelloWorld\bin\HelloWorld.dll /out:fxcop-report.xml /s
          exit 0

          I have check the 'Violations' option and next to the fxcop XML filename pattern, I have placed 'fxcop-report.xml'

          After the build I know there were 14 violations placed in the xml file, but I'm not seeing any results in the graph view of the violations, and when I click on the graph it doesn't even specify out that fxcop was picked up (see screenshot).
          Nick Schneider made changes -
          Description Original: I'm building a .NET script in which I have a post build step executing a windows batch command:

          fxcopcmd /file:HelloWorld\bin\HelloWorld.dll /out:fxcop-report.xml /s
          exit 0

          I have check the 'Violations' option and next to the fxcop XML filename pattern, I have placed 'fxcop-report.xml'

          After the build I know there were 14 violations placed in the xml file, but I'm not seeing any results in the graph view of the violations, and when I click on the graph it doesn't even specify out that fxcop was picked up (see screenshot).
          New: I'm building a .NET script in which I have a post build step executing a windows batch command:

          fxcopcmd /file:HelloWorld\bin\HelloWorld.dll /out:fxcop-report.xml /s
          exit 0

          I have check the 'Violations' option and next to the fxcop XML filename pattern, I have placed 'fxcop-report.xml'

          After the build I know there were 14 violations placed in the xml file, but I'm not seeing any results in the graph view of the violations, and when I click on the graph it doesn't even specify out that fxcop was picked up (see screenshot).

          UPDATE: This only affects a maven 2/3 project. If I build a free-style project, I get the violations to show up.
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 142416 ] New: JNJira + In-Review [ 175675 ]
          Mark Waite made changes -
          Resolution New: Won't Fix [ 2 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            peterkittreilly peterkittreilly
            schneina Nick Schneider
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: