Run Sample Python Project Using Sonar Scanner

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
I in law station we saw how to install and configure sonar scanner in this session we are going to see how to run some sample Python files for solo queue so that we can analyze the Python files so for this so already we run that sonar cube so it is up and running once this is up and running just go to website and just write that local 0 0 10 so this cube is coming and so we need to create the new project right now so in that zone of cube you can see there are more types of their projects issues rules quality profiles quality gates and administration so we will cover all these things later so right now we are going to spray the new project to analyze the Python files so for this just create the new project now and they will just give any project or key yeah you can give anything so just try and giving Python project so just set up no so enter a generator token so you can give any token name so I will give that my token so just generate so now this is my token just copy this token continue you can see that now we can unleash your Python project so you can analyze like Java or.net or CP sure for any kind of project so now we are using Python so just go here just PR using Windows so this is the command to run this cube so just copy this basically it will run this on a scanner for this using this the key which we have created and this is the sonar URL for this sport so just copy this and I already downloaded some of the basic Python project in C Drive you have already download us some Python files here so just going here so under source I have already some Python files or these files so we are going to run the solace care for these files so that it will generate the reports so once we are going inside this folder just copy this go to this for now just whatever it is there a generator just copy now we are going to run this wanna scan app for this Python project so that the analysis will be done so just pasted here just run it as you can see this form of scanner is running now it is analyzing the all the Python files inside the particular folder so now it is trying to load all the Python files [Music] it's fine because some of the files like skaila even our files was there inside this source folder so that's why it's file so I deleted all Skylar just like our files so since we are scanning only the Python files we will be only using only Python files so just you can go here just show only the Python files will be available now so once you delete all the files just go again I just run it again so what scanner yeah now it's running right now yeah yeah starting analyzing see you can see the 2000 files is analyzed yeah now we can see that so the execution is success so it means to say that the SONA scanners are successfully is scanned Python files so just for this saying this just go to here this just refresh this page and now just go to the project now and you can see that here the the Python project which we have created earlier so just you can go now inside this and this is the overview like oh there is no bugs here and there is no vulnerabilities here so all these things so it takes it will give so if you have any issues you can go and see the issues here and see you can see that in captain side severe it is like how many blockers are there how many critical issues of their home any major issues out there so for example you want to see only the Magi just click major and just go inside this and if you show what is the error here so according to that it can change the code and you can driven the small squad scanner this is how we can scan the Python project
Info
Channel: Karthick Devaraj
Views: 11,691
Rating: undefined out of 5
Keywords:
Id: aP3m2YFmroU
Channel Id: undefined
Length: 6min 11sec (371 seconds)
Published: Sat Apr 11 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.