Created
December 2, 2015 19:24
-
-
Save rafaelwkerr/9befdc12f8d46018f76d to your computer and use it in GitHub Desktop.
run.sh sonarqube
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
if [ "${1:0:1}" != '-' ]; then | |
exec "$@" | |
fi | |
exec java -jar lib/sonar-application-$SONAR_VERSION.jar \ | |
-Dsonar.log.console=true \ | |
-Dsonar.jdbc.username="sonar" \ | |
-Dsonar.jdbc.password="123qwe" \ | |
-Dsonar.jdbc.url="jdbc:mysql://192.168.99.100:3306/sonar" \ | |
-Dsonar.web.javaAdditionalOpts="-Djava.security.egd=file:/dev/./urandom" \ | |
"$@"`` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment