diff --git a/Jenkinsfile b/Jenkinsfile index e5117d87f..c567cf05b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -21,7 +21,7 @@ node { mvn "${jacoco}:prepare-agent test ${jacoco}:report" // Archive JUnit results, if any - junit allowEmptyResults: true, testResults: '**/target/failsafe-reports/TEST-*.xml' + junit allowEmptyResults: true, testResults: '**/target/surefire-reports/TEST-*.xml' } stage('Integration Test') { @@ -29,7 +29,7 @@ node { mvn "${jacoco}:prepare-agent-integration failsafe:integration-test ${jacoco}:report-integration" // Archive JUnit results, if any - junit allowEmptyResults: true, testResults: '**/target/surefire-reports/TEST-*.xml' + junit allowEmptyResults: true, testResults: '**/target/failsafe-reports/TEST-*.xml' } stage('SonarQube Analysis') { diff --git a/src/test/java/org/springframework/samples/petclinic/owner/OwnerControllerITCase.java b/src/test/java/org/springframework/samples/petclinic/owner/OwnerControllerITCase.java index 0fc488b1f..3ffd69ce0 100644 --- a/src/test/java/org/springframework/samples/petclinic/owner/OwnerControllerITCase.java +++ b/src/test/java/org/springframework/samples/petclinic/owner/OwnerControllerITCase.java @@ -12,7 +12,6 @@ import static org.assertj.core.api.Assertions.assertThat; @RunWith(SpringRunner.class) @SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT) -@Ignore public class OwnerControllerITCase { @Autowired