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

change of checkstyle-result.xml folder by changing <outputFile> parameter leading to zero warnings in trend graph

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • checkstyle-plugin
    • None
    • Jenkins 1.432 / checkstyle 3.14

    Description

      I am running Jenkins 1.432 with checkstyl 3.14. The default job with hardcoded <sourceDirectory> and <configLocation> creates the checkstyle-result.xml inside the <job/target/> folder. But I need to allow users to access the result xml file through HTTP access. For this, I have redirected the <outputFile> into <job/workspace/target> folder. But in this case, the result xml is correctly getting generated but neither the trend graphs nor the usual checkstyle warnings section shows the checkstyle warnings. Do i need to configure anywhere to direct the trend graph to look into this particular folder for the result xml file? Kindly help to understand the configuration required here to make the trend graphs read the result xml from <job/workspace/target> folder.

      Attachments

        Activity

          People

            drulli Ulli Hafner
            harish_balan Harish Balan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: