try again to not duplicate community jobs configuration

This commit is contained in:
Claudia Agache
2020-10-17 20:56:15 +03:00
parent 5db35a50b8
commit 0911098f8a

View File

@@ -105,8 +105,10 @@ jobs:
script: script:
- travis_wait 60 mvn -B install -Prun-alfresco -Dskip.automationtests=false -f $AUTOMATION_ENTERPRISE_PATH/pom.xml -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn - travis_wait 60 mvn -B install -Prun-alfresco -Dskip.automationtests=false -f $AUTOMATION_ENTERPRISE_PATH/pom.xml -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
- name: "Community Smoke UI Tests for In place Records" - &community_shared_UI_config
name: "Community Smoke UI Tests for In place Records"
stage: Tests stage: Tests
env: SUITE=communitySmokeInPlaceRecords.xml
addons: addons:
firefox: "43.0.1" firefox: "43.0.1"
artifacts: artifacts:
@@ -120,41 +122,45 @@ jobs:
- travis_wait 5 bash scripts/downloadInstaller.sh $AUTOMATION_UI_PATH/target - travis_wait 5 bash scripts/downloadInstaller.sh $AUTOMATION_UI_PATH/target
install: travis_wait 20 mvn -B install -PinstallAlfresco,apply-rm-community -q -f $AUTOMATION_UI_PATH/pom.xml install: travis_wait 20 mvn -B install -PinstallAlfresco,apply-rm-community -q -f $AUTOMATION_UI_PATH/pom.xml
script: 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=communitySmokeInPlaceRecords.xml -Dshare.url=${SHARE_URL} -Dalfresco.url=${ALFRESCO_URL} ${WEBDRIVER_ARGUMENTS} - 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=$SUITE -Dshare.url=${SHARE_URL} -Dalfresco.url=${ALFRESCO_URL} ${WEBDRIVER_ARGUMENTS}
- name: "Community Smoke UI Tests for actions in RM site" - <<: *community_shared_UI_config
stage: Tests name: "Community Smoke UI Tests for actions in RM site"
addons: env: SUITE=communitySmokeRMSite.xml
firefox: "43.0.1" # stage: Tests
artifacts: # addons:
paths: # firefox: "43.0.1"
- ./rm-automation/rm-automation-ui/target/surefire-reports # artifacts:
- ./rm-automation/rm-automation-ui/target/reports # paths:
- ./rm-automation/rm-automation-ui/target/screenshots # - ./rm-automation/rm-automation-ui/target/surefire-reports
target_paths: $TRAVIS_BUILD_NUMBER # - ./rm-automation/rm-automation-ui/target/reports
before_install: # - ./rm-automation/rm-automation-ui/target/screenshots
- travis_retry travis_wait 90 mvn -B install -Dmaven.javadoc.skip=true -Dmaven.source.skip=true -DskipTests -q # target_paths: $TRAVIS_BUILD_NUMBER
- travis_wait 5 bash scripts/downloadInstaller.sh $AUTOMATION_UI_PATH/target # before_install:
install: travis_wait 20 mvn -B install -PinstallAlfresco,apply-rm-community -q -f $AUTOMATION_UI_PATH/pom.xml # - travis_retry travis_wait 90 mvn -B install -Dmaven.javadoc.skip=true -Dmaven.source.skip=true -DskipTests -q
script: # - travis_wait 5 bash scripts/downloadInstaller.sh $AUTOMATION_UI_PATH/target
- 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=communitySmokeRMSite.xml -Dshare.url=${SHARE_URL} -Dalfresco.url=${ALFRESCO_URL} ${WEBDRIVER_ARGUMENTS} # install: travis_wait 20 mvn -B install -PinstallAlfresco,apply-rm-community -q -f $AUTOMATION_UI_PATH/pom.xml
# script:
# - 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=communitySmokeRMSite.xml -Dshare.url=${SHARE_URL} -Dalfresco.url=${ALFRESCO_URL} ${WEBDRIVER_ARGUMENTS}
- name: "Community Level 2 UI Tests" - <<: *community_shared_UI_config
stage: Tests name: "Community Level 2 UI Tests"
addons: env: SUITE=communityLevel2Tests.xml
firefox: "43.0.1" # stage: Tests
artifacts: # addons:
paths: # firefox: "43.0.1"
- ./rm-automation/rm-automation-ui/target/surefire-reports # artifacts:
- ./rm-automation/rm-automation-ui/target/reports # paths:
- ./rm-automation/rm-automation-ui/target/screenshots # - ./rm-automation/rm-automation-ui/target/surefire-reports
target_paths: $TRAVIS_BUILD_NUMBER # - ./rm-automation/rm-automation-ui/target/reports
before_install: # - ./rm-automation/rm-automation-ui/target/screenshots
- travis_retry travis_wait 90 mvn -B install -Dmaven.javadoc.skip=true -Dmaven.source.skip=true -DskipTests -q # target_paths: $TRAVIS_BUILD_NUMBER
- travis_wait 5 bash scripts/downloadInstaller.sh $AUTOMATION_UI_PATH/target # before_install:
install: travis_wait 20 mvn -B install -PinstallAlfresco,apply-rm-community -q -f $AUTOMATION_UI_PATH/pom.xml # - travis_retry travis_wait 90 mvn -B install -Dmaven.javadoc.skip=true -Dmaven.source.skip=true -DskipTests -q
script: # - travis_wait 5 bash scripts/downloadInstaller.sh $AUTOMATION_UI_PATH/target
- 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} # install: travis_wait 20 mvn -B install -PinstallAlfresco,apply-rm-community -q -f $AUTOMATION_UI_PATH/pom.xml
# script:
# - 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