Details

    • Type: EPIC
    • Status: To Do
    • Priority: Major
    • Resolution: Unresolved
    • Labels:
    • Epic Name:
      GitLab

      Description

      Why

      SonarCloud currently integrates very well with GitHub, Azure DevOps and Bitbucket Cloud. Let's provide a first minimal integration with GitLab, going as far as we can without compromising our value proposition.

      We hope to get help and support from GitLab on that journey, especially when it comes to making sure that the overall user experience will be good for our users and customers.

      What

      For sure we can do the following first steps:

      1. Authenticating with GitLab.com
      2. Project onboarding
      3. Triggering analyses with GitLab CI

      Once we get there and we start getting feedback on the integration, we can think about going further on the following points for which we already know there will be friction:

      1. Support analysis of merge requests with GitLab CI
        • Friction points are:
          • SonarCloud processing is asynchronous by nature - which does not fit into the synchronous requirement of merge request pipelines
          • There is currently no way to provide outgoing links so that users know where to look at if they need to go deeper in the details to understand the issues found by SonarCloud
        • More generally speaking, we'll need to talk with GitLab to make sure we can deliver a good user experience for our users
          • For instance, to let team prevent the merge if the quality gate of the pull request is not green
      2. Add a way to fail an automated delivery/deployment pipeline if the quality gate is not green

      Notes

      This Epic is about SonarCloud only. There is no doubt that if things go well, an Epic will also be created to develop the integration with SonarQube too.

        Attachments

          Activity

            People

            • Assignee:
              fabrice.bellingard Fabrice Bellingard
              Reporter:
              fabrice.bellingard Fabrice Bellingard
            • Votes:
              13 Vote for this issue
              Watchers:
              19 Start watching this issue

              Dates

              • Created:
                Updated: