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

violations not enabled correctly for native multi module m2 projects

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: violations-plugin
    • Labels:
      None
    • Environment:
      Platform: HP, OS: Windows XP
    • Similar Issues:

      Description

      I've enabled violations plugin in a new maven multi module project, but the
      graphs on the project main page don't show up and the link goes to a dead (404)
      page.

      I've found I need to go into all of the sub modules and enable violations on
      each module for this to work correctly (even though without enabling violations
      per module the per build results where still present for each module).

      The Tasks plugin and other native Maven2 plugins don't seem to require this.

      Violations 0.7 Hudson 1.222

        Attachments

          Activity

          Hide
          mfriedenhagen Mirko Friedenhagen added a comment -

          Hello,

          I fixed this in my own branch, see: https://github.com/mfriedenhagen/violations-plugin/commit/0e8bf845575545ec1d9f12ee34a0763042cd43f9

          You may get this version from http://huschteguzzel.de/hudson/job/jenkinsci-violations-plugin/ws/target/

          However I updated the plugin to use core 1.409, so older versions will propably not do.

          Show
          mfriedenhagen Mirko Friedenhagen added a comment - Hello, I fixed this in my own branch, see: https://github.com/mfriedenhagen/violations-plugin/commit/0e8bf845575545ec1d9f12ee34a0763042cd43f9 You may get this version from http://huschteguzzel.de/hudson/job/jenkinsci-violations-plugin/ws/target/ However I updated the plugin to use core 1.409, so older versions will propably not do.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Peter Reilly
          Path:
          src/main/resources/hudson/plugins/violations/hudson/maven/ViolationsAggregatedReport/index.jelly
          http://jenkins-ci.org/commit/violations-plugin/388c80802bd7c07aa3ebd01dff08e02e0ee5514f
          Log:
          [FIXED JENKINS-1850] multi module m2 project - dead links

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Peter Reilly Path: src/main/resources/hudson/plugins/violations/hudson/maven/ViolationsAggregatedReport/index.jelly http://jenkins-ci.org/commit/violations-plugin/388c80802bd7c07aa3ebd01dff08e02e0ee5514f Log: [FIXED JENKINS-1850] multi module m2 project - dead links
          Hide
          mfriedenhagen Mirko Friedenhagen added a comment -

          Hello Peter,
          maybe it would be better to use the lastSuccesfulBuild, as otherwise during a run the information is missing.

          Regards
          Mirko

          Show
          mfriedenhagen Mirko Friedenhagen added a comment - Hello Peter, maybe it would be better to use the lastSuccesfulBuild, as otherwise during a run the information is missing. Regards Mirko

            People

            • Assignee:
              peterkittreilly peterkittreilly
              Reporter:
              teilo James Nord
            • Votes:
              3 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: