2014-05-05 09:23:22 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# Shortcut to stop server. It must be already built.
|
|
|
|
|
2014-11-03 11:54:47 +01:00
|
|
|
if [[ "$OSTYPE" == "darwin"* ]]; then
|
|
|
|
OS='macosx-universal-64'
|
|
|
|
else
|
|
|
|
OS='linux-x86-64'
|
|
|
|
fi
|
|
|
|
|
|
|
|
sh sonar-application/target/sonarqube-*/bin/$OS/sonar.sh stop
|