diff options
Diffstat (limited to 'sonar/run.sh')
-rw-r--r-- | sonar/run.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sonar/run.sh b/sonar/run.sh new file mode 100644 index 0000000000..e8b9631029 --- /dev/null +++ b/sonar/run.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +# -s /x1/jenkins/jenkins-master/catalina-base/temp/settings7837234259678677409.xml +mvn -B -f /workspaces/poi/sonar/pom.xml -Dmaven.repo.local=/workspaces/poi/sonar/repo clean install -U -DskipTests -fae -B && \ +mvn -f /workspaces/poi/sonar/pom.xml -e -B org.codehaus.mojo:sonar-maven-plugin:2.6:sonar -Dsonar.jdbc.driver=com.mysql.jdbc.Driver \ + "-Dsonar.jdbc.url=jdbc:mysql://192.168.0.64:3306/sonar?useUnicode=true&characterEncoding=utf8" \ + -Dsonar.host.url=http://localhost:9090 -Dmaven.repo.local=/workspaces/poi/sonar/repo |