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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 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。

            daspilker Daniel Spilker
            a940563962 81855637 81855637
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: