Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Stop sonar on window 64

Tags:

sonarqube

I use sonarqube 4.3 and I can't find a script to stop sonar in windowsx86-64.

It's awkward to have StartSonar.batand nothing to stop.

When I use it on in linux-x86-64 I can use ./sonar.sh stop.

I saw that there was a StartNTService.bat and a StoptNTService.bat but i don't want to install sonar as a service.

like image 412
Michael Courcy Avatar asked May 26 '14 21:05

Michael Courcy


People also ask

How do I stop SonarQube on Windows?

Start or Stop the Service Note: > %SONAR_HOME%\bin\windows-x86-64\SonarService. bat stop does a graceful shutdown where no new analysis report processing can start, but the tasks in progress are allowed to finish. The time a stop will take depends on the processing time of the tasks in progress.

How do I know if SonarQube is running?

Start Sonarqube Service Step 2: Navigate to the start script directory. Step 3: Start the sonarqube service. Step 4: Check the application status. If it is in running state, you can access the sonarqube dashboard using the DNS name or Ip address of your server.

How do I restart SonarQube?

Restarting SonarQube can be done manually from the command line by running sonar.sh restart . In SonarQube Community Edition, you can also restart from the UI, in the Update Center. When you have Pending Changes, the restart button will be displayed in the yellow banner (see Pending Operations).


1 Answers

When using StartSonar.bat:

  • if you clicked on it, it opened a new Command window and in this case you just have to close the window to stop SonarQube

  • or you executed the script directly in a Command window, and in this case you just have to hit "Control + C" to stop SonarQube

like image 108
Fabrice - SonarSource Team Avatar answered Oct 09 '22 10:10

Fabrice - SonarSource Team