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

CE should fail when project key in report is not consistent with component key

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.4
    • Component/s: Compute Engine
    • Labels:
      None

      Description

      The WS api/ce/submit has the mandatory param "projectKey". The report/metadata.pb has also the field project_key.

      The Compute Engine task processing the report should fail when field project_key is not consistent with the "projectKey" stored as the key of the Component in DB.

      This can be implemented as a new check in ValidateProjectStep class

        Attachments

          Activity

            People

            • Assignee:
              sebastien.lesaint Sebastien Lesaint
              Reporter:
              sebastien.lesaint Sebastien Lesaint
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: