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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • checkstyle-plugin
    • None
    • Jenkins 1.432 / checkstyle 3.14

      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.

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

              Created:
              Updated:
              Resolved: