I use sonarqube 4.3 and I can't find a script to stop sonar in windowsx86-64.
It's awkward to have StartSonar.bat
and 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.
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.
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.
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).
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With