Robert Munteanu created SLING-12016:
---------------------------------------
Summary: Activate Sling Commons Metrics Prometheus on SonarCloud
Key: SLING-12016
URL: https://issues.apache.org/jira/browse/SLING-12016
Project: Sling
Issue Type: Task
Components: Content Distribution
Reporter: Timothee Maret
Fix For: Content Distribution Journal Core 0.1.0, Content
Distribution Journal Kafka 0.1.0, Content Distribution Journal ITs 0.1.0,
Content Distribution Journal Messages 0.1.0
Jenkins Jobs have been created (thanks!) for the Journal based Sling Content
Distribution projects. The repositories are listed below
*
[https://builds.apache.org/job/Sling/job/sling-org-apache-sling-distribution-journal]
*
[https://builds.apache.org/job/Sling/job/sling-org-apache-sling-distribution-journal-it]
*
[https://builds.apache.org/job/Sling/job/sling-org-apache-sling-distribution-journal-kafka]
*
[https://builds.apache.org/job/Sling/job/sling-org-apache-sling-distribution-journal-messages]
Those Jenkins jobs fail currently with an error similar to
{code:java}
[ERROR] Failed to execute goal
org.sonarsource.scanner.maven:sonar-maven-plugin:3.6.0.1398:sonar (default-cli)
on project org.apache.sling.distribution.journal.messages: You're not
authorized to run analysis. Please contact the project administrator. -> [Help
1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
{code}
which seems related to a missing integration with Sonar.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)