try to fix env var

This commit is contained in:
Claudia Agache
2020-07-07 09:39:08 +03:00
parent 4a9a9c7385
commit 30de549428

View File

@@ -12,10 +12,9 @@ branches:
- /hotfix-2.7\/.*/
env:
- AUTOMATION_COMMUNITY_PATH=rm-automation/rm-automation-community-rest-api
- AUTOMATION_ENTERPRISE_PATH=rm-automation/rm-automation-enterprise-rest-api
- AUTOMATION_UI_PATH=rm-automation/rm-automation-ui
- TARGET=target
- AUTOMATION_COMMUNITY_TARGET=rm-automation/rm-automation-community-rest-api/target
- AUTOMATION_ENTERPRISE_TARGET=rm-automation/rm-automation-enterprise-rest-api/target
- AUTOMATION_UI_TARGET=rm-automation/rm-automation-ui/target
cache:
directories:
@@ -24,9 +23,9 @@ cache:
- rm-community/rm-community-share/target
- rm-enterprise/rm-enterprise-repo/target
- rm-enterprise/rm-enterprise-share/target
- $AUTOMATION_COMMUNITY_PATH/$TARGET
- $AUTOMATION_ENTERPRISE_PATH/$TARGET
- $AUTOMATION_UI_PATH/$TARGET
- $AUTOMATION_COMMUNITY_TARGET
- $AUTOMATION_ENTERPRISE_TARGET
- $AUTOMATION_UI_TARGET
# the cache can grow constantly
before_cache:
- rm -rf $HOME/.m2/repository/org/alfresco/alfresco-rm*
@@ -71,9 +70,9 @@ jobs:
- echo "Enterprise Integrations Tests on MySQL"
- name: "Community Rest API Tests"
stage: Tests
before_install: travis_wait 60 bash scripts/downloadInstaller.sh $AUTOMATION_COMMUNITY_PATH/$TARGET
before_install: travis_wait 60 bash scripts/downloadInstaller.sh $AUTOMATION_COMMUNITY_TARGET
install:
- travis_wait 60 bash scripts/startAlfresco.sh $AUTOMATION_COMMUNITY_PATH apply-rm-community
- travis_wait 60 bash scripts/startAlfresco.sh "rm-automation/rm-automation-community-rest-api" apply-rm-community
script:
- echo "Community Rest API Tests"
- name: "Enterprise Rest API Tests"