| | |
| | | |
| | | # A test step that fails leaves its instances behind. The server-side story of a |
| | | # failed start lives in logs/server.out and logs/errors, and nothing else prints it |
| | | # (setup only has the client-side view, see issue #1030). |
| | | # (setup only has the client-side view, see issue #1030). The quicksetup tests run |
| | | # their own instance under build/unit-tests/quicksetup (issue #1160). |
| | | - name: Dump the server logs of a failed test |
| | | if: failure() |
| | | shell: bash |
| | | run: | |
| | | for f in opendj-server-legacy/target/package/opendj*/logs/server.out opendj-server-legacy/target/package/opendj*/logs/errors; do |
| | | for f in opendj-server-legacy/target/package/opendj*/logs/server.out opendj-server-legacy/target/package/opendj*/logs/errors \ |
| | | opendj-server-legacy/build/unit-tests/quicksetup/OpenDS/logs/server.out opendj-server-legacy/build/unit-tests/quicksetup/OpenDS/logs/errors; do |
| | | [ -f "$f" ] || continue |
| | | echo "===== $f" |
| | | cat "$f" |