Browse Source

Enable XML result files for Gradle build to make them available for Jenkins CI

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885071 13f79535-47bb-0310-9956-ffa450edef68
tags/REL_5_0_0
Dominik Stadler 3 years ago
parent
commit
a0b0e3a4a7
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      build.gradle

+ 7
- 0
build.gradle View File

@@ -142,6 +142,12 @@ subprojects {
}

test {
// make XML test-results available for Jenkins CI
useJUnitPlatform()
reports {
junitXml.enabled = true
}

// Exclude some tests that are not actually tests or do not run cleanly on purpose
exclude '**/BaseTestBorderStyle.class'
exclude '**/BaseTestCellUtil.class'
@@ -372,6 +378,7 @@ project('excelant') {

testCompile project(path: ':main', configuration: 'tests')
testCompile "org.junit.jupiter:junit-jupiter:${junitVersion}"
testCompile 'org.hamcrest:hamcrest:2.2'
}

jar {

Loading…
Cancel
Save