From aa2080773824758c30a656c9c14a59c10400b893 Mon Sep 17 00:00:00 2001 From: rodicasutu Date: Wed, 3 Feb 2021 10:25:22 +0200 Subject: [PATCH] displayed the logs after running the tests (debugging purpose) --- travis/.travis.tests-stage.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/travis/.travis.tests-stage.yml b/travis/.travis.tests-stage.yml index 340f60bab2..6932a97377 100644 --- a/travis/.travis.tests-stage.yml +++ b/travis/.travis.tests-stage.yml @@ -54,6 +54,9 @@ jobs: 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 + after_script: + - docker ps -a | grep '_alfresco_1' | awk '{print $1}' | xargs docker logs | tail -5000 + - docker ps -a | grep '_alfresco2_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 - docker ps -a | grep '_alfresco2_1' | awk '{print $1}' | xargs docker logs | tail -5000