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

Set "tagSeverity" to "info" but Jenkins-checkstyle reports "warning"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • checkstyle-plugin
    • None
    • Mac OS X 10.7.5,Jenkins-Checkstyle 3.35

      checkstyle rules contains warning:

      <module name="WriteTag">
      <property name="tag" value="@author"/>
      <property name="tagFormat" value="\S"/>
      </module>

      Expect result:

      If I do not configure the "tagSeverity" property ,its default value is "info",but the checkdtyle-plugin reports "warning"

      Actually:

      But when I use the Jenkins-Checkstyle ,this plugin reports "warning" as following in Jenkins log:

      Successfully parsed file D:\JENKINS_hzqa_CI\workspace\daggerMaster-Checkstyle\checkstyle\checkstyle_result.xml of module with 23 warnings.

      But the checkstyle-result.xml shows severity="info" not "warning"

      I want to know why the severity is "info" but plugin reports me "warning".This maybe a bug of this plugin,would it?

            drulli Ulli Hafner
            andrewleo andrew leo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: