File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed
Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -140,6 +140,24 @@ jobs:
140140 run : |
141141 docker compose exec app run-tests
142142
143+ - if : ${{ always() }}
144+ name : Retain logs and configs for debugging
145+ run : |
146+ mkdir artifacts && cd artifacts
147+ docker compose logs > docker-compose.log
148+ docker compose config > docker-compose.yml
149+ curl -sL --cookie-jar .cookies http://localhost:8080/geoserver/web/ || true > geoserver-web.html
150+
151+ - if : ${{ always() }}
152+ name : Upload build artifacts
153+ uses : actions/upload-artifact
154+ with :
155+ name : GeoServer Build (${{ env.BUILD_SUFFIX }})
156+ path : artifacts/*
157+ if-no-files-found : error
158+ retention-days : 7
159+ include-hidden-files : false
160+
143161 push :
144162 runs-on : ubuntu-24.04
145163 needs :
Original file line number Diff line number Diff line change 11#! /bin/sh -e
22
3- curl -sqL --cookie-jar /tmp/cookies localhost:8080/geoserver/web/? 0 | tac | grep -q ' GeoServer: Welcome'
3+ curl -sL --cookie-jar /tmp/cookies http:// localhost:8080/geoserver/web/ | tac | grep -q ' GeoServer: Welcome'
You can’t perform that action at this time.
0 commit comments