mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Merge pull request #1280 from Alfresco/feature-3.4/APPS-594_Intermittent#15_editClassificationAddNewSource_no
Apps 594 intermittent edit classification add new source
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
<ags.repo>alfresco-governance-services-community-repo</ags.repo>
|
||||
<tas.restapi.version>1.38</tas.restapi.version>
|
||||
<fluent.json.version>2.0.0</fluent.json.version>
|
||||
<jackson.databind.version>2.7.7</jackson.databind.version>
|
||||
<jackson.databind.version>2.7.9.1</jackson.databind.version>
|
||||
</properties>
|
||||
|
||||
<build>
|
||||
@@ -90,10 +90,10 @@
|
||||
<artifactId>docker-java</artifactId>
|
||||
<version>3.0.14</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-databind</artifactId>
|
||||
<version>${jackson.databind.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-databind</artifactId>
|
||||
<version>${jackson.databind.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
|
12
scripts/getLogs.sh
Normal file
12
scripts/getLogs.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
set -x
|
||||
|
||||
alfrescoContainerId=$(docker ps -a | grep '_alfresco_' | awk '{print $1}')
|
||||
shareContainerId=$(docker ps -a | grep '_share_' | awk '{print $1}')
|
||||
solrContainerId=$(docker ps -a | grep '_search_' | awk '{print $1}')
|
||||
|
||||
docker logs $alfrescoContainerId > alfresco.log
|
||||
if [ -n "$shareContainerId" ]; then
|
||||
docker logs $shareContainerId > share.log
|
||||
fi
|
||||
docker logs $solrContainerId > solr.log
|
@@ -58,6 +58,9 @@ jobs:
|
||||
- ./rm-automation/rm-automation-ui/target/surefire-reports
|
||||
- ./rm-automation/rm-automation-ui/target/reports
|
||||
- ./rm-automation/rm-automation-ui/target/screenshots
|
||||
- alfresco.log
|
||||
- solr.log
|
||||
- share.log
|
||||
target_paths: $TRAVIS_BUILD_NUMBER/$TRAVIS_JOB_NUMBER
|
||||
install:
|
||||
- |
|
||||
@@ -75,6 +78,7 @@ jobs:
|
||||
- travis_retry travis_wait 30 mvn -B -U -q clean install ${MVN_SKIP} -pl :alfresco-governance-services-automation-ui -am
|
||||
script:
|
||||
- travis_wait 90 xvfb-run --server-args="-screen 0 1920x1080x24" mvn -B test -pl :alfresco-governance-services-automation-ui -Dskip.automationtests=false -DsuiteXmlFile=communitySmokeRecords.xml -Dshare.url=${SHARE_URL} -Dalfresco.url=${ALFRESCO_URL} ${WEBDRIVER_ARGUMENTS}
|
||||
after_failure: bash scripts/getLogs.sh
|
||||
|
||||
- <<: *community_shared_UI_configuration
|
||||
name: "Community Smoke UI Tests for actions in RM site"
|
||||
@@ -85,7 +89,7 @@ jobs:
|
||||
name: "Community Level 2: Disposition Schedules, Holds, Records UI Tests"
|
||||
script:
|
||||
- travis_wait 90 xvfb-run --server-args="-screen 0 1920x1080x24" mvn -B test -pl :alfresco-governance-services-automation-ui -Dskip.automationtests=false -DsuiteXmlFile=communityLevel2Tests.xml -Dshare.url=${SHARE_URL} -Dalfresco.url=${ALFRESCO_URL} ${WEBDRIVER_ARGUMENTS}
|
||||
|
||||
|
||||
- <<: *community_shared_UI_configuration
|
||||
name: "Community Level 2: Audit, Rules, User Dashboard and Node Browser UI Tests"
|
||||
script:
|
||||
@@ -102,6 +106,9 @@ jobs:
|
||||
- ./rm-automation/rm-automation-ui/target/surefire-reports
|
||||
- ./rm-automation/rm-automation-ui/target/reports
|
||||
- ./rm-automation/rm-automation-ui/target/screenshots
|
||||
- alfresco.log
|
||||
- solr.log
|
||||
- share.log
|
||||
target_paths: $TRAVIS_BUILD_NUMBER/$TRAVIS_JOB_NUMBER
|
||||
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
|
||||
@@ -112,6 +119,7 @@ jobs:
|
||||
- sudo free -m -t
|
||||
script:
|
||||
- travis_wait 90 xvfb-run --server-args="-screen 0 1920x1080x24" mvn -B test -pl :alfresco-governance-services-automation-ui -Dskip.automationtests=false -DsuiteXmlFile=enterpriseLevel2Tests.xml -Dshare.url=${SHARE_URL} -Dalfresco.url=${ALFRESCO_URL} ${WEBDRIVER_ARGUMENTS}
|
||||
after_failure: bash scripts/getLogs.sh
|
||||
|
||||
- <<: *enterprise_shared_UI_configuration
|
||||
name: "Enterprise Classification Level 2 UI Tests"
|
||||
@@ -155,4 +163,3 @@ jobs:
|
||||
script:
|
||||
- travis_wait 90 xvfb-run --server-args="-screen 0 1920x1080x24" mvn -B test -pl :alfresco-governance-services-automation-ui -DsuiteXmlFile=wormTestSuite.xml -Dskip.automationtests=false -Dshare.url=${SHARE_URL} -Dalfresco.url=${ALFRESCO_URL} ${WEBDRIVER_ARGUMENTS}
|
||||
after_script: bash scripts/cleanup.sh
|
||||
after_failure: docker ps -a | grep '_alfresco_1' | awk '{print $1}' | xargs docker logs | tail -5000
|
||||
|
Reference in New Issue
Block a user