redirect logs to file and update target path for artifacts

This commit is contained in:
Claudia Agache
2020-11-04 09:51:11 +02:00
parent 8b287701ee
commit 5ca7d1d1f5

View File

@@ -54,7 +54,7 @@ jobs:
- ./rm-automation/rm-automation-ui/target/surefire-reports - ./rm-automation/rm-automation-ui/target/surefire-reports
- ./rm-automation/rm-automation-ui/target/reports - ./rm-automation/rm-automation-ui/target/reports
- ./rm-automation/rm-automation-ui/target/screenshots - ./rm-automation/rm-automation-ui/target/screenshots
target_paths: $TRAVIS_BUILD_NUMBER target_paths: $TRAVIS_BUILD_NUMBER/$TRAVIS_JOB_NUMBER
before_install: before_install:
- | - |
if [[ ${TRAVIS_COMMIT_MESSAGE} == *"[tests on community]"* ]]; then if [[ ${TRAVIS_COMMIT_MESSAGE} == *"[tests on community]"* ]]; then
@@ -97,7 +97,7 @@ jobs:
- ./rm-automation/rm-automation-ui/target/surefire-reports - ./rm-automation/rm-automation-ui/target/surefire-reports
- ./rm-automation/rm-automation-ui/target/reports - ./rm-automation/rm-automation-ui/target/reports
- ./rm-automation/rm-automation-ui/target/screenshots - ./rm-automation/rm-automation-ui/target/screenshots
target_paths: $TRAVIS_BUILD_NUMBER target_paths: $TRAVIS_BUILD_NUMBER/$TRAVIS_JOB_NUMBER
before_install: before_install:
- travis_retry travis_wait 90 mvn -B -q install $MVN_SKIP -PbuildDockerImage -pl :alfresco-governance-services-enterprise-repo,:alfresco-governance-services-enterprise-share -am - travis_retry travis_wait 90 mvn -B -q install $MVN_SKIP -PbuildDockerImage -pl :alfresco-governance-services-enterprise-repo,:alfresco-governance-services-enterprise-share -am
- travis_retry travis_wait 30 mvn -B -U -q clean install ${MVN_SKIP} -pl :alfresco-governance-services-automation-ui -am - travis_retry travis_wait 30 mvn -B -U -q clean install ${MVN_SKIP} -pl :alfresco-governance-services-automation-ui -am