[JIRA] (JENKINS-61657) Create a job by using job dsl,cannot correctly create the config.xml about sonar gerrit plugin

瀏覽次數:0 次
跳到第一則未讀訊息

81855637@qq.com (JIRA)

未讀,
2020年3月24日 凌晨4:07:052020/3/24
收件者:jenkinsc...@googlegroups.com
81855637 81855637 updated an issue
 
Jenkins / Bug JENKINS-61657
Create a job by using job dsl,cannot correctly create the config.xml about sonar gerrit plugin
Change By: 81855637 81855637
This is my  DSL script

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

and the created job's xml
about on sonarReportPath is not what I want。

!image-2020-03-24-16-05-36-715.png!
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

81855637@qq.com (JIRA)

未讀,
2020年3月24日 凌晨4:07:052020/3/24
收件者:jenkinsc...@googlegroups.com
81855637 81855637 created an issue
Issue Type: Bug Bug
Assignee: Unassigned
Attachments: image-2020-03-24-16-05-36-715.png
Components: sonar-gerrit-plugin
Created: 2020-03-24 08:06
Environment: Jenkins version:2.176.2
Sonar Gerrit plugin: 2.3
Job DSL plugin: 1.77
Priority: Minor Minor
Reporter: 81855637 81855637

This is my  DSL script

 

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

 

and the created job's xml about sonarReportPath is not what I want。

81855637@qq.com (JIRA)

未讀,
2020年3月24日 凌晨4:09:322020/3/24
收件者:jenkinsc...@googlegroups.com
81855637 81855637 updated an issue
Change By: 81855637 81855637
This is my  DSL script

 
{code:java}

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

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

!image-2020-03-24-16-05-36-715.png!

81855637@qq.com (JIRA)

未讀,
2020年3月24日 凌晨4:09:332020/3/24
收件者:jenkinsc...@googlegroups.com
81855637 81855637 updated an issue
Change By: 81855637 81855637
Environment: Jenkins version:2.176.2
Sonar Gerrit plugin: 2.
3 2.1
Job DSL plugin: 1.77

81855637@qq.com (JIRA)

未讀,
2020年3月24日 凌晨4:10:022020/3/24
收件者:jenkinsc...@googlegroups.com

81855637@qq.com (JIRA)

未讀,
2020年3月24日 凌晨4:12:032020/3/24
收件者:jenkinsc...@googlegroups.com

81855637@qq.com (JIRA)

未讀,
2020年3月24日 凌晨4:30:022020/3/24
收件者:jenkinsc...@googlegroups.com

81855637@qq.com (JIRA)

未讀,
2020年3月24日 凌晨4:30:022020/3/24
收件者:jenkinsc...@googlegroups.com

81855637@qq.com (JIRA)

未讀,
2020年3月27日 凌晨2:00:032020/3/27
收件者:jenkinsc...@googlegroups.com
回覆所有人
回覆作者
轉寄
0 則新訊息