You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (JIRA)" <ji...@apache.org> on 2019/04/01 11:33:00 UTC

[jira] [Commented] (SLING-8262) Add SonarQube analysis to Jenkins jobs

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

Robert Munteanu commented on SLING-8262:
----------------------------------------

[~bellingard] - thanks to your PR I was able to progress with the analysis for the Sling whiteboard project. However, it now fails with

{quote}[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar (default-cli) on project sling-whiteboard-builder: You're not authorized to run analysis. Please contact the project administrator. -> [Help 1]{quote}

https://builds.apache.org/job/Sling/job/sling-whiteboard/job/master/112/console

Trying to troubleshoot I found 

- https://community.sonarsource.com/t/unauthorized-exception-on-first-sonarqube-analysis/333 
- https://docs.sonarqube.org/latest/analysis/analysis-parameters/ 

which says that this might be a project key collision. However, I did not find any {{org.apache.sling}} projects on sonarcloud.io . Can you please help pinpoint the root cause of the problem? Thanks!

> Add SonarQube analysis to Jenkins jobs
> --------------------------------------
>
>                 Key: SLING-8262
>                 URL: https://issues.apache.org/jira/browse/SLING-8262
>             Project: Sling
>          Issue Type: Improvement
>          Components: Build and Source Control
>            Reporter: Robert Munteanu
>            Assignee: Robert Munteanu
>            Priority: Major
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> With the pipeline jobs it becomes simple to run a SonarQube analysis ( see https://cwiki.apache.org/confluence/display/INFRA/Multibranch+Pipeline+recipies ) so let's do that.
> We should also look if this can be done for pull requests.



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