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

Pierre Smits edited comment on OFBIZ-7963 at 5/26/19 12:53 PM:
---------------------------------------------------------------

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 project (what is in its 
repos).

Any adopter can have in their own environment their own - specific - setup 
(with adjustments to their own gradle code). 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?


was (Author: pfm.smits):
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 revive INFRA-3590



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

Reply via email to