diff --git a/.travis.yml b/.travis.yml index 4714b39982..fd914e96ad 100644 --- a/.travis.yml +++ b/.travis.yml @@ -107,7 +107,7 @@ jobs: - bash scripts/create-worm-bucket.sh - bash scripts/start-compose.sh "${ENTERPRISE_SHARE_PATH}/docker-compose-worm-support-rest.yml" - bash scripts/waitForAlfrescoToStart.sh - script: mvn -B test -pl :alfresco-governance-services-automation-enterprise-rest-api -DsuiteXmlFile=wormTestSuite.xml -Dskip.automationtests=false + script: mvn -B test -pl :alfresco-governance-services-automation-enterprise-rest-api -DsuiteXmlFile=wormTestSuite.xml -Dskip.automationtests=false -Ds3.accessKey=${AWS_ACCESS_KEY_ID} -Ds3.secretKey=${AWS_SECRET_ACCESS_KEY} -Ds3.bucketName=${S3_BUCKET2_NAME} -Ds3.bucketRegion=${S3_BUCKET_REGION} after_script: bash scripts/cleanup.sh after_failure: docker ps -a | grep '_alfresco_1' | awk '{print $1}' | xargs docker logs | tail -5000 diff --git a/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/base/BaseRMRestTest.java b/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/base/BaseRMRestTest.java index afd58ae54a..3a39086362 100644 --- a/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/base/BaseRMRestTest.java +++ b/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/base/BaseRMRestTest.java @@ -533,7 +533,7 @@ public class BaseRMRestTest extends RestTest * @return the created record * @throws Exception */ - public Record createElectronicRecord(String parentId, String name) throws Exception + public Record createElectronicRecord(String parentId, String name) { return createElectronicRecord(parentId, name ,null); } @@ -547,7 +547,7 @@ public class BaseRMRestTest extends RestTest * @return the created record * @throws Exception */ - public Record createElectronicRecord(String parentId, String name, UserModel user) throws Exception + public Record createElectronicRecord(String parentId, String name, UserModel user) { RecordFolderAPI recordFolderAPI = restAPIFactory.getRecordFolderAPI(user); Record recordModel = Record.builder().name(name).nodeType(CONTENT_TYPE).build();