Thank you for this brief and to-the-point tutorial
@Engineerhoon2 жыл бұрын
Your welcome!
@techytantra2 жыл бұрын
Code coverage is showing 0% at 13:52. How to fix this issue?
@Engineerhoon Жыл бұрын
Please check the other video about code coverage in the SonarQube playlist.
@mayurborse976511 ай бұрын
why there is no wrapper.conf file in my downloaded sonrqube?
@divyad8087 Жыл бұрын
Hi, without database(SQL) can we analyse project and show coverage in sonarqube dashboard?
@Engineerhoon Жыл бұрын
Yes. Embedded DB is a default option.
@alphaman376510 ай бұрын
I tried to run sonarqube,its telling in the terminal that it started.But the problem is when I tries to open sonarqube in port 9000 , its not working
@RAMANKUMARGCEBIT2 жыл бұрын
thank u for the video. i have a que: at 1:07, its mentioned that java should be installed. so, even if we want to run SonarQube to test/maintain codes written in Python or other languages, we can use it ?
@Engineerhoon2 жыл бұрын
jdk needs to be installed as Sonar scanner requires Java
@RAMANKUMARGCEBIT2 жыл бұрын
@@Engineerhoon if at 12:05 we select python. can we use SonarQube to analyse codes of Python as well?
@digitizeo2 жыл бұрын
@@RAMANKUMARGCEBIT Yes, you can!
@ThatFirstRep2 жыл бұрын
Amazing work and tutorial! Keep it up please! 🙏
@Engineerhoon2 жыл бұрын
Thanks! 🙂
@ArturoDevA2 жыл бұрын
how install in apple silicon ?
@gauravchauhan-en9kc2 жыл бұрын
For me, Below error is coming. Error : 2022.07.20 20:46:38 ERROR app[][o.s.a.p.ManagedProcessHandler] Failed to launch process [ElasticSearch] java.lang.IllegalStateException: Could not delete Elasticsearch temporary conf directory Please help.
@Engineerhoon2 жыл бұрын
According to the below link, it suggests to re-download the Sonarqube for the mentioned issue.. community.sonarsource.com/t/cannot-start-sonarqube-8-9-es-not-starting/49522
@amirizwan61712 жыл бұрын
Hey, may I know what kind of terminal or how you can make that kind of terminal on Mac? Thanks
@Engineerhoon2 жыл бұрын
I am using iterm with a different theme.
@amirizwan61712 жыл бұрын
@@Engineerhoon thanks bro
@Engineerhoon2 жыл бұрын
@@amirizwan6171 Welcome!
@GauravGupta-vo4ii Жыл бұрын
To the point video, Thanks it was helpful.
@Engineerhoon Жыл бұрын
You're welcome. Check SonarQube playlist for more such videos.
@Johnello110 ай бұрын
Hello sir! Thanks for this amazing tutorial! A quick quesiton for you and for everyone that can help me with this asnwer - can this be used for Wordpress plugins as well? (they are written in PHP mostly and some JS libraries etc). I am curious to hear from you guys if you know any tutorial for this, or if it's even possible.. cheers
@mahendrareddy4557 Жыл бұрын
I have already project is there how to set up sonarqube?
@saurabhmaurya6964 Жыл бұрын
@Engineerhooon wrapper.conf is now missing after extracting then how to set specific jdk ? help please
@Engineerhoon Жыл бұрын
You need jdk 17 installed to run SonarQube. Use sonar.properties to update any requires properties.
@saurabhmaurya6964 Жыл бұрын
@@Engineerhoon can you connect with me seperately on meet if you have time?..then ....help me...
@Engineerhoon Жыл бұрын
@@saurabhmaurya6964 Yes we can discuss. Please reach out to me on LinkedIn : www.linkedin.com/in/sunny-shaw/
@princesahoo3704 Жыл бұрын
When we are testing using sonarqube, In intelijidea through sonarlint plugin it shows the issues. While in the sonarqube dashboard the issues are not reported like it shows 0 bugs ,0 vulnerabilities and 0 debt ,0 security hotspots,0 code smells not in new code abd also in overall source code. How to solve this issue ?
@shashanksid8678 Жыл бұрын
Git branch is not showing in sonarqube. I can see only master and develop branches in sonar. How can i see the branches in which i made changes ?
@Engineerhoon Жыл бұрын
I guess that is available only with paid subscription
@tejav1433 жыл бұрын
How can we integrate to the branches in sonar cloud?
@Engineerhoon3 жыл бұрын
You can refer this doc docs.sonarqube.org/latest/branches/overview/
@elenafartukova1656 Жыл бұрын
It's exactly what I was looking for! but it's not the 1st time for your videos that the volume of the sound is not high enough ( I live close to the airport and it's hard to hear you properly when the plane is passing even if I'm using my headset). Other authors have a higher volume for their videos, so this issue could stop me from watching yours if I foresee a busy scheduled for the airport
@Engineerhoon Жыл бұрын
Sorry to know about that. I will work on this feedback.
@crickopedia8438 Жыл бұрын
I also need to use headphones in my room. By the way, excellent work 🙏
@himabinduj38052 жыл бұрын
why code coverage 0.0%, can you share a video to achieve code coverage for gradle projects.
@Engineerhoon2 жыл бұрын
I have a separate video on this. Watch it here kzbin.info/www/bejne/sH6VdYKXoa2rfrs
@bilalchandio1 Жыл бұрын
How to link java plain code with sonarqube for analyisis?
@Engineerhoon Жыл бұрын
It should be either Gradle or Maven project so that sonarqube plugin can be added.
@dhruvsinghkushwah59192 жыл бұрын
Loved it. And everything ran perfectly fine for me. I have a mac m1 btw so had to follow a different set of steps. And plus I was using docker so used an argument to indicate that I want to use Linux on an arm architecture Thanks a lot!
@Engineerhoon2 жыл бұрын
Welcome!
@ochoax2628 Жыл бұрын
Hi Bro, do you have any tutorial for installing Sonarqube in mac M1?. I'm currently on it but I haven't found any video to install the app on MAC M1
@ronakpathak18662 жыл бұрын
Well explained.. To the point.. Keep up the good work
@Engineerhoon2 жыл бұрын
Thanks!
@anoopkathait-t8o5 ай бұрын
Thanks for this video
@Engineerhoon5 ай бұрын
Your welcome!
@justasj5628Ай бұрын
Thank you!
@EngineerhoonАй бұрын
You’re welcome. Checkout other videos on my channel. You may find it helpful.
@RAMANKUMARGCEBIT2 жыл бұрын
is the oracle jre and openjdk same? i have dwld version 11 of OpenJDK, do i also need to install OracleJRE ?
@Engineerhoon2 жыл бұрын
The JDK includes the JRE. You do not have to download it separately
@vinodkumarrdeekonda31352 жыл бұрын
great video, i can able to setup successfully without any error. Thanks
@Engineerhoon2 жыл бұрын
Glad to know that :)
@josephtsibiya63962 жыл бұрын
Thank you very much, you helped me a lot.
@Engineerhoon2 жыл бұрын
Most welcome!
@kunalbagwe60912 жыл бұрын
Hello, I have one question here, I am executing a docker instance of Sonar and I need to change default branch from master to dev for all projects. How that has to be configured, please help. Thanks in Advance
@knownisdropunknownisocean.92822 жыл бұрын
short and sweet..
@Engineerhoon2 жыл бұрын
Thanks!
@sandeepmathu8861 Жыл бұрын
hi bro. i have one doubt. how to take backup and recovery of all the projects?
@Engineerhoon Жыл бұрын
Backup of projects from where? If you want to backup project's analysis report then getting a DB backup where reports are persisted can be enough.
@amritanshusatapathy9149 Жыл бұрын
How to add security rules?
@lalitcdac3 жыл бұрын
Can Sonar be used to analyse python/pytest projects?
@Engineerhoon3 жыл бұрын
Yes. You can refer this link docs.sonarqube.org/latest/analysis/languages/python/
@markdarwinvillarta3768 Жыл бұрын
Amazing tutorial, pls tell me how to backup current sonarqube setup or backup its current instance/database if incase my server got f* out so that I can restore it.
@Engineerhoon Жыл бұрын
Backing up your SonarQube setup, including its instance and database, is crucial to ensure you can restore your code analysis environment in case of server issues or data loss. Here are the steps to backup and restore SonarQube: Backup SonarQube Instance: Stop SonarQube Server: Before taking any backups, stop the SonarQube server to ensure data consistency. Backup SonarQube Home Directory: The SONARQUBE_HOME directory contains configuration files, plugins, and other settings specific to your SonarQube instance. Create a copy of this directory as your backup. The location of this directory can vary based on your installation method but is often found in /opt/sonarqube or C:\SonarQube. Database Backup: If you're using an external database (e.g., PostgreSQL, MySQL, or Oracle), you should regularly back up your database separately. The method for doing this will depend on the specific database system you're using. Consult your database documentation for instructions on how to perform backups. Restore SonarQube Instance: To restore your SonarQube instance, follow these steps: Install SonarQube: Install a fresh instance of SonarQube on a new server or environment if your previous one is no longer accessible. Ensure that the SonarQube version matches the one you backed up. Stop SonarQube Server: Stop the newly installed SonarQube server. Restore SonarQube Home Directory: Replace the SONARQUBE_HOME directory in the new installation with the backup copy from your old server. This will bring back your previous configurations and plugins. Database Restore: If you backed up your database separately, restore it to the new database server. Follow the instructions provided by your specific database system for restoring a backup. Update Configuration: Check and update the sonar.properties file in your SONARQUBE_HOME/conf directory if necessary. Ensure that the database connection settings and any other configurations are correctly set up for the new environment. Start SonarQube Server: Start the SonarQube server in the new environment. Verify: Access the SonarQube web interface and verify that your projects, settings, and data are restored correctly.
@ParagOak Жыл бұрын
Hi , I’m new to this. I need help. I’m able to run sonar with docker but while adding bitbucket repo it showing Workspace ID validation error. And as per bitbucket this is low priority issue. Can you help to setup bitbucket with sonar? ( I want to scan angular project through sonar )
@Engineerhoon Жыл бұрын
Please try following the official docs docs.sonarqube.org/latest/devops-platform-integration/bitbucket-integration/bitbucket-server-integration/
@AnilKumar-ei8uy2 жыл бұрын
How can we download that report
@KhuviJais Жыл бұрын
Great explanation
@Engineerhoon Жыл бұрын
Thank you!
@manasnaik69042 жыл бұрын
fir me its always giving error "You're not authorized to run analysis. Please contact the project administrator." However i provided all level access.
@Engineerhoon2 жыл бұрын
Could you please follow what is suggested in the below link community.sonarsource.com/t/error-youre-not-authorized-to-run-analysis-please-contact-the-project-administrator/11979/5
@dilipgowda29163 жыл бұрын
I have setup same as yours, but my code coverage is 0.I have almost 10 test cases
@Engineerhoon3 жыл бұрын
I have already made a video on that. Check out this video kzbin.info/www/bejne/sH6VdYKXoa2rfrs
@nooruldeenqader6061 Жыл бұрын
Thanks a lot, it is a best help
@Engineerhoon Жыл бұрын
Glad it helped!
@rutujamhatre54863 жыл бұрын
Whenever I am trying to add postgresql credentials in sonar.properties file, getting authentication error in the frontend. In logs, getting only one warning: To change the default administrator credentials-which i've already changed. Pls help!
@Engineerhoon3 жыл бұрын
Verify the credentials once if those are correct. Also, check other log files.
@ducnguyendinhtrung47453 жыл бұрын
hi bro, are there any versions of SonarQube can do on java 8. Thanks
@Engineerhoon3 жыл бұрын
You can use any stable version
@ducnguyendinhtrung47453 жыл бұрын
@@Engineerhoon i try it on my mac but i can’t up my project into it :((((
@Engineerhoon3 жыл бұрын
@@ducnguyendinhtrung4745 Can you check logs? That might help you to resolve the issue.
@oladimejijames95543 жыл бұрын
i can't edit my wrapper.conf, it appears that is a read-only file
@Engineerhoon3 жыл бұрын
Try changing the permission. On which editor you are trying to edit?
@narendrakumariitb2 жыл бұрын
Thank you brother🤗
@Engineerhoon2 жыл бұрын
Your welcome!
@affanahamed9660 Жыл бұрын
Hey, bro your videos are great can u make the same sonarqube download and set up the video for the windows platform. and what to do if we get the error ' .bat ' command not found in the internal or external commands ..?????
@Engineerhoon Жыл бұрын
Refer this stackoverflow.com/questions/37695712/sonnar-runner-error-sonar-runner-is-not-recognized-as-an-internal-or-external
@parthapaul12492 жыл бұрын
Bro will it work on Java 8("1.8.0_301")??
@Engineerhoon2 жыл бұрын
No, according to docs docs.sonarqube.org/latest/requirements/requirements/
@SudhanshuSrivastavaIndia3 жыл бұрын
This is really helpful.
@Engineerhoon3 жыл бұрын
Thank you 😊
@naglaaly21432 жыл бұрын
can you analyze php projects?
@Engineerhoon2 жыл бұрын
I haven't tried it but you can follow the below document to analyze php projects docs.sonarqube.org/latest/analysis/languages/php/
@salmahassan86892 жыл бұрын
Thanks for this helpful video
@Engineerhoon2 жыл бұрын
Most welcome
@virtualnerd83443 жыл бұрын
brother where can we get this vode snippet to run on sonar
@Engineerhoon3 жыл бұрын
Do you want configuration or the project?
@virtualnerd83443 жыл бұрын
@@Engineerhoon bro project code snippet, to run sonar on
@Engineerhoon3 жыл бұрын
@@virtualnerd8344 You can use any project. Try out the same Snake and ladder repo from my Github. Link is in the description.
@virtualnerd83443 жыл бұрын
@@Engineerhoon thank you brother
@virtualnerd83443 жыл бұрын
@@Engineerhoon bro there is no link in the description
@ghury1 Жыл бұрын
is it free? Can i use it to analyze javascript/typescript projects?
@Engineerhoon Жыл бұрын
Yes, SonarQube supports analysis of JavaScript and TypeScript projects.
@preet5472 Жыл бұрын
Can you help me to set sonarqube in https & how to pass ssl when scan report sent to sonare servers
@Engineerhoon Жыл бұрын
Yes. Please DM on linkedIn
@RAMANKUMARGCEBIT2 жыл бұрын
thank u for the video, can i use it to analyse python codes?
@Engineerhoon2 жыл бұрын
Yes
@claudiozimmermannjunior91182 жыл бұрын
Thank you for the help
@Engineerhoon2 жыл бұрын
Welcome!
@ahmedelsabagh69902 жыл бұрын
Very helpful tutorial
@Engineerhoon2 жыл бұрын
Glad it was helpful!
@arnaudfrancktaptuekuate53672 жыл бұрын
is very fast but the video was great .thank you!
@Engineerhoon2 жыл бұрын
You're welcome! Also, thanks for the feedback. Much appreciated.
@neverStopLearning33 жыл бұрын
Thank you for very nice video, I found an error on my terminal that Failled to start SonarQube, thanks
@Engineerhoon3 жыл бұрын
Check log files for the error
@krishnataninki33912 жыл бұрын
ERROR: Re-run SonarScanner using the -X switch to enable full debug logging.
@Engineerhoon2 жыл бұрын
Could you please check logs file for exact error?
@blueberrydiw83403 жыл бұрын
Why everyone skips the postgresql part
@Engineerhoon3 жыл бұрын
Hi, Setting up a Postgress server is a different topic. I have mentioned the Postgress configuration required for Sonarqube at timestamp 6:51. For the Postgress setup using docker compose, you can refer to this bit.ly/3CiJVf0 or you can refer to other resources on internet. Hope this helps.
@SridharA-kq4xw Жыл бұрын
HI: Please speak with proper guidance not that much speed and commands need to be clear for learners.If you are that speed how can we grab it.
@Engineerhoon Жыл бұрын
Sorry about that. Will take care in future videos. For now, you can try out watching this video at 0.75x speed [KZbin feature to slow down the normal speed]
@jayakataboina15223 жыл бұрын
Hi
@lucacaracciolo20607 ай бұрын
AIUTOOOOOO
@v.sreesairam94884 ай бұрын
Hello sir I am getting issue like this what to do for this?? java.io.IOException: Cannot create directory '/var/sonarqube/data'. at org.apache.commons.io.FileUtils.mkdirs(FileUtils.java:2361) at org.apache.commons.io.FileUtils.forceMkdir(FileUtils.java:1429) at org.sonar.application.AppFileSystem.createDirectory(AppFileSystem.java:80) at org.sonar.application.AppFileSystem.reset(AppFileSystem.java:59) at org.sonar.application.App.start(App.java:53) at org.sonar.application.App.main(App.java:81) I have tried everymethod but not able to rectify this
@Engineerhoon4 ай бұрын
Follow this post community.sonarsource.com/t/sonarqube-shuts-back-down/15853