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

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Do
    • Priority: Minor
    • None
    • Environment:
      Jenkins version:2.176.2
      Sonar Gerrit plugin: 2.2.1
      Job DSL plugin: 1.77

      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
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: