aboutsummaryrefslogtreecommitdiffstats
path: root/debug-server.sh
blob: 1d1549d9c4d11fd0792fd66926427671ce4a5ef0 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh


cd sonar-application/target/
if ! ls sonarqube-*/bin/sonar-application*.jar &> /dev/null; then
  unzip sonarqube-*.zip
fi

cd sonarqube-*
java -jar ./lib/sonar-application*.jar -Dsonar.web.javaAdditionalOpts=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005