[jira] [Commented] (OFBIZ-7963) Create a Gradle Sonar task

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-7963) Create a Gradle Sonar task

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-7963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16848421#comment-16848421 ]

Pierre Smits commented on OFBIZ-7963:
-------------------------------------

You keep mentioning to have the sonar task to be available for local execution. I understand this as having adopters (and their developers) to be able to execute such and post the results to the sonarcloud.io service for the project. This should be considered as undesirable, as it may lead to having the service show results not applicable to the code base of the projects (what is in its repos).

Any adopter can have in their own environment their own - specific - setup (with adjustments to gradle). But it should not dictate the setup for the project.

You're talking about 'how could we test them before committing'..... Let me do my thing and you'll get something that works. Now you're not.

Are you saying that current buildbot configuration does not offer such flexibility?

> Create a Gradle Sonar task
> --------------------------
>
>                 Key: OFBIZ-7963
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7963
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Jacques Le Roux
>            Assignee: Pierre Smits
>            Priority: Minor
>         Attachments: OFBIZ-7963-sonar.patch, OFBIZ-7963-sonar.patch, OFBIZ-7963-sonar.patch
>
>
> As ever the devil is in details. There is no longer a Sonar plugin available https://docs.gradle.org/current/userguide/sonar_plugin.htmland we should rather refer to http://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner+for+Gradle
> Anyway the most important part is to revivify INFRA-3590



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)