Hi ,
We have PR branch and we are using * Community Edition Version 9.3 (build 51899). while trying to run sonar scan it is not working for PR branch however with the same is working in master.
This is multibranch pipeline and clone behavior is same for both master and PR branch. if we remove Partial Clone Filter then it is working in PR branch but the issue is daily basis we have around 3000 builds and branches so we cant afford the space.so we have to have Partial Clone filter,
we are running this command
sonarqube – -Dsonar.host.url=sonar-host -Dsonar.buildbreaker.alternativeServerUrl=sonar-host -Dsonar.login=**** -DpullRequestId=55503 -Dsonar.pullrequest.id=55503 -Dsonar.pullrequest.key=55503 -Dsonar.pullrequest.branch=pull-requests/55503 -Dsonar.scm.revision=a7b3c12660c52cb9cc2858e098133c74343968c3
i am getting error
File ‘/home/jenkins/workspace/Abc.java’ was detected as changed but without having changed lines
kindly suggest if i can achieve it for PR branch without removing Partial Clone Filter