move info about stage in shared job

This commit is contained in:
Claudia Agache
2020-10-17 20:45:55 +03:00
parent c5aae3164b
commit 5db35a50b8

View File

@@ -38,20 +38,21 @@ stages:
- name: Publish - name: Publish
_shared_job: &enterprise_shared_UI_configuration _shared_job: &enterprise_shared_UI_configuration
addons: stage: Tests
firefox: "43.0.1" addons:
artifacts: firefox: "43.0.1"
paths: artifacts:
- ./rm-automation/rm-automation-ui/target/surefire-reports paths:
- ./rm-automation/rm-automation-ui/target/reports - ./rm-automation/rm-automation-ui/target/surefire-reports
- ./rm-automation/rm-automation-ui/target/screenshots - ./rm-automation/rm-automation-ui/target/reports
target_paths: $TRAVIS_BUILD_NUMBER - ./rm-automation/rm-automation-ui/target/screenshots
before_install: target_paths: $TRAVIS_BUILD_NUMBER
- travis_retry travis_wait 90 mvn -B install -Dmaven.javadoc.skip=true -Dmaven.source.skip=true -DskipTests -q before_install:
- travis_wait 5 bash scripts/downloadInstaller.sh $AUTOMATION_UI_PATH/target - travis_retry travis_wait 90 mvn -B install -Dmaven.javadoc.skip=true -Dmaven.source.skip=true -DskipTests -q
install: travis_wait 20 mvn -B install -PinstallAlfresco,apply-rm-enterprise -q -f $AUTOMATION_UI_PATH/pom.xml - travis_wait 5 bash scripts/downloadInstaller.sh $AUTOMATION_UI_PATH/target
script: install: travis_wait 20 mvn -B install -PinstallAlfresco,apply-rm-enterprise -q -f $AUTOMATION_UI_PATH/pom.xml
- travis_wait 60 xvfb-run --server-args="-screen 0 1280x1024x24" mvn -B test -Prun-alfresco -Dskip.automationtests=false -f $AUTOMATION_UI_PATH/pom.xml -DsuiteXmlFile=$TEST_SUITE -Dshare.url=${SHARE_URL} -Dalfresco.url=${ALFRESCO_URL} ${WEBDRIVER_ARGUMENTS} script:
- travis_wait 60 xvfb-run --server-args="-screen 0 1280x1024x24" mvn -B test -Prun-alfresco -Dskip.automationtests=false -f $AUTOMATION_UI_PATH/pom.xml -DsuiteXmlFile=$TEST_SUITE -Dshare.url=${SHARE_URL} -Dalfresco.url=${ALFRESCO_URL} ${WEBDRIVER_ARGUMENTS}
jobs: jobs:
include: include:
@@ -156,32 +157,32 @@ jobs:
- travis_wait 60 xvfb-run --server-args="-screen 0 1280x1024x24" mvn -B install -Prun-alfresco -Dskip.automationtests=false -f $AUTOMATION_UI_PATH/pom.xml -DsuiteXmlFile=communityLevel2Tests.xml -Dshare.url=${SHARE_URL} -Dalfresco.url=${ALFRESCO_URL} ${WEBDRIVER_ARGUMENTS} - travis_wait 60 xvfb-run --server-args="-screen 0 1280x1024x24" mvn -B install -Prun-alfresco -Dskip.automationtests=false -f $AUTOMATION_UI_PATH/pom.xml -DsuiteXmlFile=communityLevel2Tests.xml -Dshare.url=${SHARE_URL} -Dalfresco.url=${ALFRESCO_URL} ${WEBDRIVER_ARGUMENTS}
- name: "Enterprise Level 2 UI Tests" - name: "Enterprise Level 2 UI Tests"
stage: Tests # stage: Tests
env: TEST_SUITE=enterpriseLevel2Tests.xml env: TEST_SUITE=enterpriseLevel2Tests.xml
<<: *enterprise_shared_UI_configuration <<: *enterprise_shared_UI_configuration
- name: "Enterprise Classification Level 2 UI Tests" - name: "Enterprise Classification Level 2 UI Tests"
stage: Tests # stage: Tests
env: TEST_SUITE=enterpriseLevel2ClassificationTests.xml env: TEST_SUITE=enterpriseLevel2ClassificationTests.xml
<<: *enterprise_shared_UI_configuration <<: *enterprise_shared_UI_configuration
- name: "Enterprise Classification UI Tests" - name: "Enterprise Classification UI Tests"
stage: Tests # stage: Tests
env: TEST_SUITE=enterpriseClassificationTests.xml env: TEST_SUITE=enterpriseClassificationTests.xml
<<: *enterprise_shared_UI_configuration <<: *enterprise_shared_UI_configuration
- name: "Enterprise Guides UI Tests" - name: "Enterprise Guides UI Tests"
stage: Tests # stage: Tests
env: TEST_SUITE=enterpriseGuidesTests.xml env: TEST_SUITE=enterpriseGuidesTests.xml
<<: *enterprise_shared_UI_configuration <<: *enterprise_shared_UI_configuration
- name: "Enterprise Security Marks UI Tests" - name: "Enterprise Security Marks UI Tests"
stage: Tests # stage: Tests
env: TEST_SUITE=enterpriseSecurityMarksTests.xml env: TEST_SUITE=enterpriseSecurityMarksTests.xml
<<: *enterprise_shared_UI_configuration <<: *enterprise_shared_UI_configuration
- name: "Enterprise Console and Configuration UI Tests" - name: "Enterprise Console and Configuration UI Tests"
stage: Tests # stage: Tests
env: TEST_SUITE=enterpriseConsoleAndConfigurationTests.xml env: TEST_SUITE=enterpriseConsoleAndConfigurationTests.xml
<<: *enterprise_shared_UI_configuration <<: *enterprise_shared_UI_configuration