SonarQube Tutorial - Integration with Jenkins & Maven

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ก.พ. 2023
  • Demo to set up SonarQube (version 9.8), Apache Maven (3.6.3) with Oracle JDK 11.0.7 and integrating it with Jenkins (version 2.375.2) which is run on Windows Platform.
    Setting up Quality Gates to flag a Jenkins build as "pass" or "fail", both freestyle & pipeline jobs.
    Source Code for this demo : github.com/rchidana/calcwebapp
    Jenkins Pipeline (Jenkinsfile) raw.githubusercontent.com/rch...
    Jenkins Plugins Required:
    - plugins.jenkins.io/sonar/
    - plugins.jenkins.io/jacoco/ (not mandatory but my pipeline references this plugin and if you do not want this step, feel free to delete this)
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @daniloramirez5032
    @daniloramirez5032 5 หลายเดือนก่อน +1

    Thank you so much! The best explanation ever! It was very helpful for my work

  • @inspired12121
    @inspired12121 5 หลายเดือนก่อน +1

    thank you so much, your video is well explained

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

    Ultimate. Very well explained sir. Please make such videos with the latest versions. May I request you to create a video which covers the end to end pipeline which is more more or less same how people setup in real production environment.

  • @user-me9hn7xv3p
    @user-me9hn7xv3p 4 หลายเดือนก่อน

    Thank you
    Could you help by creating from scratch
    Step 1 : create maven project and push to bitbucket
    Step 2 : How to configure with bitbucket
    Step 3 : How to write pipeline script and generte sonarqube report

  • @amarpradhan5307
    @amarpradhan5307 ปีที่แล้ว

    I stuck into Sonarqube Integration with Jenkins for python . I already took help from more than 25People no one have an intention to help me. If kindly you can tell me just one line that is what exact code I need to write in place of bat'mvn clean verify sonar:sonar' ....Bca I use a Linux machine Where I have to use sh instead of Bat but what exactly I have to use instead of Mvn clean sonar:sonar. Plz help. I will never forget you till my life end

    • @crudsinfotechng8127
      @crudsinfotechng8127  ปีที่แล้ว

      On Linux, you run shell script....you can check its syntax in the pipeline snippet generator and the code you need to use is just this -----> sh 'mvn clean verify sonar:sonar'
      Hope this helps.