How to Create Quality Gate in SonarQube and Integrate with GitHub Actions CICD Pipeline

Поделиться
HTML-код
  • Опубликовано: 7 сен 2024
  • www.coachdevop...
    What is Quality gate?
    In SonarQube a quality gate is a set of conditions that must be met in order for a project to be marked as passed.
    Pre-requisites:
    Make sure SonarQube is up and running
    Make sure Java Project is setup in GitHub
    SonarQube is already integrated with GitHub Actions
    SONAR_HOST_URL and SONAR_TOKEN configured as secrets in GitHub Repo
    How to Create Quality gate in SonarQube and integrate with GitHub Actions?
    Make sure SonarQube is up and running and integrated with GitHub Actions. Please click here if you would like to setup SonarQube and integrate with GitHub Actions.
    We will be executing below steps:
    Login to SonarQube
    Create Quality Gate in SonarQube
    Add conditions in Quality Gate
    Make quality gate as Default
    Create GitHub Actions CICD workflow yaml
    Add tasks for Maven build and Sonar Scan
    Add tasks for integrating Quality gate
    pass/fail the builds in SonarQube

Комментарии • 13

  • @JayPatel101
    @JayPatel101 3 месяца назад +1

    Thank you! For all the effort and time you have put into your content. It's fantastic!

    • @DevOpsCoach
      @DevOpsCoach  3 месяца назад

      Thank you Jay. Glad you enjoyed it

  • @liban2
    @liban2 5 месяцев назад +1

    You are the best devsecops/devops channel on youtube, thanks

    • @DevOpsCoach
      @DevOpsCoach  5 месяцев назад

      Thank you, please subscribe if you haven’t already

  • @OswaldoGonzalez-uo3qd
    @OswaldoGonzalez-uo3qd 5 месяцев назад +1

    Interesting friend, I like your content👌🏼👌🏼👏👏

    • @DevOpsCoach
      @DevOpsCoach  5 месяцев назад

      Thank you so much 🙂 Cheers.. Please keep watching and learning!

  • @PHOENIX-he9fl
    @PHOENIX-he9fl 5 месяцев назад +1

    can you please put video for github_action with trivy image scaning

  • @AnshuAnand2020
    @AnshuAnand2020 5 месяцев назад +1

    Good Video Ananth

  • @aymanelhor3908
    @aymanelhor3908 Месяц назад

    But when a dev is creating a PR, he needs to know his bugs and issues only from Github, the dev doesn't need to access the sonarqube instance!! How can this be done Sir?
    Thank you!

  • @pranay_vlogs_20
    @pranay_vlogs_20 5 месяцев назад

    Hi sir, Please make your Repository in Public. It really helps me a lot. Because I am getting too many errors while running github actions ci cd.

    • @DevOpsCoach
      @DevOpsCoach  5 месяцев назад

      my repo is public..github.com/akannan1087/oct2023WeekdayRepo

  • @kumarmummina2979
    @kumarmummina2979 4 месяца назад

    Sir, how to setup github app for soanrqube & how to configure pls make video