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



    • Bug
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • 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.



          harish_balan Harish Balan created issue -
          drulli Ulli Hafner made changes -
          Field Original Value New Value
          Issue Type Task [ 3 ] Bug [ 1 ]
          Priority Critical [ 2 ] Minor [ 4 ]
          harish_balan Harish Balan made changes -
          Assignee Ulli Hafner [ drulli ] Harish Balan [ harish_balan ]
          harish_balan Harish Balan made changes -
          Assignee Harish Balan [ harish_balan ] Ulli Hafner [ drulli ]
          scm_issue_link SCM/JIRA link daemon made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 147064 ] JNJira + In-Review [ 192215 ]


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