Create a job by using job dsl,cannot correctly create the config.xml about sonar gerrit plugin

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      This is my  DSL script

       

      inspectionConfig{
         serverURL('http://xxxxxxxxxx:9000</serverURL')
         baseConfig{
           projectPath('./')
           sonarReportPath('./sonar-report.json')
           autoMatch(false)
           }
         type('base')
      }
      

       

      and the value of  sonarReportPath in the created job's xml  is not what I want。

            Assignee:
            Daniel Spilker
            Reporter:
            81855637 81855637
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: