aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/pom.xml
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-02-19 09:08:26 +0100
committerStas Vilchik <vilchiks@gmail.com>2015-03-04 13:22:52 +0100
commit2d7eac92dc449592a27826daa5478aec8c9e64fc (patch)
treee7e2709c1e1d4df817dfa07f52d788728070cba7 /server/sonar-web/pom.xml
parent6c41cba0d29e744f90347ae98975f8e4e55c8bd7 (diff)
downloadsonarqube-2d7eac92dc449592a27826daa5478aec8c9e64fc.tar.gz
sonarqube-2d7eac92dc449592a27826daa5478aec8c9e64fc.zip
generate js coverage report from casperjs tests
Diffstat (limited to 'server/sonar-web/pom.xml')
-rw-r--r--server/sonar-web/pom.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-web/pom.xml b/server/sonar-web/pom.xml
index bbb9f202700..9b7e9ac2ee9 100644
--- a/server/sonar-web/pom.xml
+++ b/server/sonar-web/pom.xml
@@ -15,6 +15,7 @@
<!-- self-analysis -->
<sonar.sources>src/main/js,src/main/coffee,src/main/hbs,src/main/less</sonar.sources>
<sonar.exclusions>src/main/js/third-party/**/*,src/main/js/require.js,src/main/js/tests/**/*</sonar.exclusions>
+ <sonar.javascript.lcov.reportPath>target/js-coverage/lcov.info</sonar.javascript.lcov.reportPath>
</properties>
<build>
@@ -153,7 +154,7 @@
<goal>grunt</goal>
</goals>
<configuration>
- <arguments>maven-build-skip-tests-${skipWebTests} --port=${jsTestPort} --no-color</arguments>
+ <arguments>maven-build-skip-tests-${skipWebTests}-${jsCoverage} --port=${jsTestPort} --no-color</arguments>
</configuration>
</execution>
</executions>