spring-gradle-plugins / spring-build-conventions

Contains common build logic and uses conventions to build a Spring Project with Gradle
14 stars 18 forks source link

Fix integration test report locations #32

Closed vpavic closed 6 years ago

vpavic commented 6 years ago

IntegrationTestPlugin currently defines the following report locations:

html.destination = project.file("$project.buildDir/reports/integration-tests/")
junitXml.destination = project.file("$project.buildDir/integration-test-results/")

This is inconsistent with locations for standard tests, which are:

Consequently, Spring Security and Spring Session Jenkins builds, which define junit '**/build/*-results/*.xml' in Jenkinsfile end up picking only reports for integration tests.

This PR removes explicit report locations in IntegrationTestPlugin so that the reports end up in:

Consuming projects will then need to update their Jenkinsfile to define junit '*/build/test-results/*/*.xml'

rwinch commented 6 years ago

Thanks this is now merged @vpavic!