Permalink
Browse files

Modified Jenkinsfile to generate new report

  • Loading branch information...
jakhog committed Aug 4, 2017
1 parent 1af216b commit caf308bc2a1236a1610818fe88966c5a52556d73
Showing with 16 additions and 7 deletions.
  1. +11 −1 Jenkinsfile
  2. +3 −2 pom.xml
  3. +2 −4 testing/pom.xml
View
@@ -11,6 +11,16 @@ node {
sh("cd language/ && mvn -Dmaven.test.failure.ignore -pl !thingml.ui.tests clean install && cd ..")
}
stage('Testing') {
sh("cd testing/ && mvn -Dmaven.test.failure.ignore test && cd ..")
sh("cd testing/ && mvn -Dmaven.test.failure.ignore test thingmlreport:generate && cd ..")
}
stage('Publishing HTML Report') {
publishHTML (target: [
allowMissing: false,
alwaysLinkToLastBuild: false,
keepAll: true,
reportDir: 'testing/target/',
reportFiles: 'thingml-testreport.html',
reportName: "ThingML Test Report"
])
}
}
View
@@ -207,13 +207,14 @@
<modules>
<module>utilities</module>
<module>language/thingml.target</module>
<module>language/thingml.target</module>
<module>language/thingml</module>
<module>language/thingml.ide</module>
<module>language/thingml.ide</module>
<module>compilers</module>
<module>testing/framework</module>
<module>testing/reportbuilder</module>
<!-- The standalone app can only be built on the server which has the keystore to sign the jar
<module>../org.thingml.editor.standaloneApp</module>-->
<!--<module>testJar</module>--><!--BUILT SEPARATELY-->
View
@@ -75,13 +75,11 @@
<configuration>
</configuration>
</plugin>
<!--
<plugin>
<groupId>org.thingml</groupId>
<artifactId>testing.reportbuilder</artifactId>
<version>${project.version}</version>
<artifactId>testing.reportbuilder</artifactId>
<version>${project.version}</version>
</plugin>
-->
</plugins>
</build>
</project>

0 comments on commit caf308b

Please sign in to comment.