{"errors":[{"msg":"Component key ' not found for all the projects during sonar analysis.

Nandeesh Bharamagoudra September 27, 2019

Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.4.0.905:sonar (default-cli) on project x: Error 404 on https://sonar.x.com/sonar/api/sources/hash?key=com.dns.caps.x.x%3Ax%3Ax-commons%2Fsrc%2Fmain%2Fjava%2Fcom%2Fx%2Fx%2Fx%2Fx%2Fcommons%2Fx%2Fx%2FWorkflowServiceImpl%2Fx.java : {"errors":[{"msg":"Component key 'com.x.x.x.x:x:x-commons/s/s/x/x/x/x/x/x/commons/x/x/x/x.java' not found"}]} ->

Recently we have upgraded from sonar 7.1 to sonar 7.6 , and we are facing component key is not found for every projects during sonar analysis.

we are running  job from jenkins pipeline which based on PR.

Please help this as soon as possible.

Temporary solution we found that , if we delete project from sonar , next run it will be successfully, but we dont want to do this.

Here 'x' means dns name and project path, due to security regions , I have not mentioned.

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events