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

0 views
Skip to first unread message

81855637@qq.com (JIRA)

unread,
Mar 24, 2020, 4:07:05 AM3/24/20
to 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)

unread,
Mar 24, 2020, 4:07:05 AM3/24/20
to 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)

unread,
Mar 24, 2020, 4:09:32 AM3/24/20
to 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)

unread,
Mar 24, 2020, 4:09:33 AM3/24/20
to 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)

unread,
Mar 24, 2020, 4:10:02 AM3/24/20
to jenkinsc...@googlegroups.com

81855637@qq.com (JIRA)

unread,
Mar 24, 2020, 4:12:03 AM3/24/20
to jenkinsc...@googlegroups.com

81855637@qq.com (JIRA)

unread,
Mar 24, 2020, 4:30:02 AM3/24/20
to jenkinsc...@googlegroups.com

81855637@qq.com (JIRA)

unread,
Mar 24, 2020, 4:30:02 AM3/24/20
to jenkinsc...@googlegroups.com

81855637@qq.com (JIRA)

unread,
Mar 27, 2020, 2:00:03 AM3/27/20
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages