Move scripts used by travis jobs under travis folder because when mirroring all scripts folders are excluded

This commit is contained in:
cagache
2021-04-01 18:44:35 +03:00
parent 3f25704425
commit e7d25af3b4
19 changed files with 44 additions and 44 deletions

17
travis/scripts/getLogs.sh Normal file
View File

@@ -0,0 +1,17 @@
#!/usr/bin/env bash
set -x
# Display running containers
docker ps
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
if [ -n "$solrContainerId" ]; then
docker logs $solrContainerId > solr.log
fi