Friday 15 August 2014

SonarQube : Execution of several Sonar analysis at same time, on same project. Different versions -



SonarQube : Execution of several Sonar analysis at same time, on same project. Different versions -

i want have sonar analysis beingness performed on twice on same maven project @ same time, different versions.

i.e. gav details

<groupid>com.test.exm</groupid> <artifactid>exm001</artifactid> <version>1.5.0-snapshot</version>

and

<groupid>com.test.exm</groupid> <artifactid>exm001</artifactid> <version>1.4.0-snapshot</version>

this gives error though...

caused by: org.sonar.api.utils.sonarexception: project beingness analysed. @ org.sonar.batch.scan.projectlock.start(projectlock.java:55)

please don't inquire why have snapshot 1.4.0 , 1.5.0 @ same time. legacy build thing going on in background.

i have thought semaphore lock used include version number, not artifact , groupid.

i've found defect...

https://jira.codehaus.org/browse/sonar-2761

i turn off sonar legacy stuff, i'd sooner see if there prepare create allow sonar analysis.

in order accomplish this, can utilize sonar.branch property on legacy version of project.

sonarqube

No comments:

Post a Comment