Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-2761

Sonar doesn't support parallel runs/analysis on the same project

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Database
    • Labels:
      None

      Description

      In such case, some snapshots might be duplicated and the following exception can occur during next Sonar analysis :

      Expected single result, but got : [Snapshot[resourceId=95049,createdAt=2011-08-27 04:00:21.0,version=1.4.4-SNAPSHOT,
      last=true,status=P,scope=PRJ,path=,depth=0,qualifier=TRK,rootId=<null>,parentId=
      <null>,rootProjectId=95049,period1Mode=previous_analysis,period2Mode=days,period3Mode=days,period4Mode=<null>,
      period5Mode=<null>,period1Param=2011-08-26,period2Param=30,period3Param=90,period4Param=<null>,period5Param=<null>,
      period1Date=2011-08-26 04:00:20.0,period2Date=2011-07-28 04:00:21.0,period3Date=2011-05-29 04:00:21.0,
      period4Date=<null>,period5Date=<null>,id=16419479], Snapshot[resourceId=95049,createdAt=2011-08-29 04:00:17.0,version=1.4.4-SNAPSHOT,last=true,status=P,scope=PRJ,path=,depth=0,qualifier=TRK,rootId=<null>,parentId=<null>,
      rootProjectId=95049,period1Mode=previous_analysis,period2Mode=days,period3Mode=days,
      period4Mode=<null>,period5Mode=<null>,period1Param=2011-08-27,period2Param=30,period3Param=90,
      period4Param=<null>,period5Param=<null>,period1Date=2011-08-27 04:00:21.0,period2Date=2011-07-30 04:00:17.0,
      period3Date=2011-05-31 04:00:17.0,period4Date=<null>,period5Date=<null>,id=16459351]]
      

      Execution of several Sonar analysis in same time is possible but only on different projects.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              freddy.mallet Freddy Mallet (Inactive)
              Votes:
              31 Vote for this issue
              Watchers:
              17 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: