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

Violations plugin doesn't properly display issue descriptions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • violations-plugin
    • None
    • Jenkins 1.541 (Ubuntu 13.10), Violations plugin 0.7.11, Violations columns 1.6

      CodeNarc XML file contains entries like this:

      <Violation ruleName="UnusedVariable" priority="2" lineNumber="91">
      <SourceLine>
      <![CDATA[
      def username = session[UsernamePasswordAuthenticationFilter.SPRING_SECURITY_LAST_USERNAME_KEY]
      ]]>
      </SourceLine>
      <Message>
      <![CDATA[
      The variable [username] in class LoginController is not used
      ]]>
      </Message>
      </Violation>
      

      Text contains full description of the violation.

      However in the source browser, the tooltips just show violation IDs for violation class and description (see attachment).

            peterkittreilly peterkittreilly
            matejk Matej Kenda
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: