Skip to content

Commit 0e3c095

Browse files
committed
debug env
1 parent 74abcca commit 0e3c095

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎tests/ci.startup.bare-metal.sh‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ export JAHIA_URL="http://localhost:8080${CONTEXT_PATH:-}"
88
node_modules/.bin/env.run
99
status=$?
1010

11+
# TODO remove: diagnoses why Jahia fails to find its repository home on the hosted runner
12+
if [[ $status -ne 0 ]]; then
13+
docker info
14+
docker exec jahia sh -c 'id; ls -la /var/jahia /var/jahia/repository; grep -rhE "jackrabbit.home|jahia.data.dir|jahiaVarDiskPath" /etc/jahia /usr/local/tomcat/webapps/ROOT/WEB-INF/etc/config 2>/dev/null'
15+
fi
16+
1117
# The action reads the reports and test_success from artifacts/results/, and writes its own logs there
1218
rm -rf artifacts/results
1319
mkdir -p artifacts/results

0 commit comments

Comments
 (0)