attempt to fix rest api tests

This commit is contained in:
rodicasutu
2020-12-04 20:34:25 +02:00
parent 0044284403
commit 20f3521f5b
2 changed files with 6 additions and 1 deletions

View File

@@ -49,7 +49,7 @@
<plugin> <plugin>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<configuration> <configuration>
<redirectTestOutputToFile>false</redirectTestOutputToFile> <redirectTestOutputToFile>true</redirectTestOutputToFile>
<suiteXmlFiles> <suiteXmlFiles>
<suiteXmlFile>${project.build.testOutputDirectory}/${suiteXmlFile}</suiteXmlFile> <suiteXmlFile>${project.build.testOutputDirectory}/${suiteXmlFile}</suiteXmlFile>
</suiteXmlFiles> </suiteXmlFiles>

View File

@@ -34,6 +34,11 @@ jobs:
script: script:
- mvn -B test -pl :alfresco-governance-services-automation-enterprise-rest-api -Dskip.automationtests=false - mvn -B test -pl :alfresco-governance-services-automation-enterprise-rest-api -Dskip.automationtests=false
after_failure: docker ps -a | grep '_alfresco_1' | awk '{print $1}' | xargs docker logs | tail -5000 after_failure: docker ps -a | grep '_alfresco_1' | awk '{print $1}' | xargs docker logs | tail -5000
addons:
artifacts:
paths:
- ./rm-automation/rm-automation-enterprise-rest-api/target/reports/rm-automation-enterprise-rest-api.log
- ./rm-automation/rm-automation-enterprise-rest-api/target/surefire-reports
- name: "Enterprise Rest API WORM Tests" - name: "Enterprise Rest API WORM Tests"
stage: Tests stage: Tests