11 - DevOps Jenkins SonarQube Integration | Jenkins Pipeline Tutorial | Publish code to SonarQube

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ม.ค. 2025

ความคิดเห็น • 26

  • @JavaHomeCloud
    @JavaHomeCloud  6 ปีที่แล้ว

    contact javahome For online/classroom training please contact, Banglore, +919886611117

  • @RegnardViven
    @RegnardViven 6 หลายเดือนก่อน +1

    Thank you sir. I was facing a problem in sonar config for past 3days and was able to solve the issue with your video. Thanks a lot sir.

    • @JavaHomeCloud
      @JavaHomeCloud  6 หลายเดือนก่อน

      Welcome, All the Best

  • @SatishKumar-ci1qm
    @SatishKumar-ci1qm 4 ปีที่แล้ว +1

    Nice videos uploading and it is helping us a lot !!

  • @harishkolanu
    @harishkolanu 5 ปีที่แล้ว +5

    can you please upload full video, how to configure sonarqube... how to configure sonar to maven.

  • @ingupro
    @ingupro 6 ปีที่แล้ว +1

    Thank you so much.
    It helps.

  • @cggirl7481
    @cggirl7481 3 ปีที่แล้ว

    [ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.7.0.1746:sonar (default-cli): Goal requires a project to execute but there is no POM in this directory (-----------------------). Please verify you invoked Maven from the correct directory. -> [Help 1]
    [ERROR]
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    getting this error..Please help

  • @nithinbhumireddynarakkagar2787
    @nithinbhumireddynarakkagar2787 3 ปีที่แล้ว +1

    java.lang.NoSuchMethodError: No such DSL method 'withSonarQubeENV'
    error iam facing could help me out thses issue

    • @JavaHomeCloud
      @JavaHomeCloud  3 ปีที่แล้ว

      You have to install sonarqube scanner plugin

  • @sbahal1
    @sbahal1 5 ปีที่แล้ว

    The step to configure/setup sonar cube server was missed

  • @sharadgupta3727
    @sharadgupta3727 3 ปีที่แล้ว

    I have to setup this for Android
    Could u plz suggest the steps for gradle + Sonarqube

  • @MrNiceseb
    @MrNiceseb 6 ปีที่แล้ว

    ERROR: No maven named maven-3 found ? How to resolve this? I am using Mac OSX With brew install maven,
    Maven home: /usr/local/Cellar/maven/3.5.3/libexec, tried : def mvnHome = /usr/local/Cellar/maven/3.5.3/libexe but doesnt work?

    • @prashanthg2775
      @prashanthg2775 6 ปีที่แล้ว

      maven-3 is the name of the maven setup we give in Jenkins Global tool configuration, to check the name of your machine name, goto -> manage jenkins, Global tool configuration -> under Maven -> click on Maven installations. You can see your maven machine name.
      For more information, please check the 8th video i.e 08 - Jenkins pipeline integration with git & maven i.e th-cam.com/video/pts8zdHel5E/w-d-xo.html

  • @kayoutube690
    @kayoutube690 4 ปีที่แล้ว

    Do you have tutorial for install and configure sonarQube using ec2?

  • @prasadpetkar2841
    @prasadpetkar2841 2 ปีที่แล้ว

    How to generate that name and token?

  • @harishkolanu
    @harishkolanu 5 ปีที่แล้ว +2

    how to integrate sonar to maven. please can you show

    • @JavaHomeCloud
      @JavaHomeCloud  5 ปีที่แล้ว

      check my Jenkins pipeline playlist
      th-cam.com/video/PWhqbpVbaTo/w-d-xo.html

  • @sachinmali1548
    @sachinmali1548 5 ปีที่แล้ว

    Hi sir, through jenkins i m pooling the code from svn repositiory. Now what i want to do is, i want to mark my build as failed if sonar quality gate is failed or quality checks not met. How i can do this. Plz suggest.

    • @JavaHomeCloud
      @JavaHomeCloud  5 ปีที่แล้ว

      check this video - th-cam.com/video/y-Oz9lBYsH8/w-d-xo.html

    • @sachinmali1548
      @sachinmali1548 5 ปีที่แล้ว

      Hi sir,
      The following is my pipeline script
      stage('SonarQube analysis') {
      withSonarQubeEnv('Sonar_Qube') {
      bat "${scannerHome}/bin/sonar-scanner"
      }
      }
      stage("Quality Gate"){
      echo 'inside QG stage'
      timeout(time: 1, unit: 'HOURS') {
      def qg = waitForQualityGate()
      if (qg.status != 'OK') {
      error "Pipeline aborted due to quality gate failure: ${qg.status}"
      }
      }
      }
      After executing this, i m getting an error as follows
      java.lang.IllegalStateException: Unable to guess SonarQube task id and/or SQ server details. Please use the 'withSonarQubeEnv' wrapper to run your analysis.
      Plz suggest

  • @shivag2008
    @shivag2008 6 ปีที่แล้ว

    I am not getting any popup to setup sonarqube, is there any another way to setup..!

  • @aniballinares5555
    @aniballinares5555 5 ปีที่แล้ว

    you can add subtitles