mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
Show logs on smb-kerberos CI failure
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
parent
308fcf4526
commit
6e276ad2e1
1 changed files with 6 additions and 0 deletions
6
.github/workflows/smb-kerberos.yml
vendored
6
.github/workflows/smb-kerberos.yml
vendored
|
|
@ -64,3 +64,9 @@ jobs:
|
|||
CONTENT=$(./client-cmd.sh ${{ env.DC_IP }} curl -b /shared/cookies/jar -s --negotiate -u testuser@DOMAIN.TEST: --delegation always http://httpd.domain.test/remote.php/webdav/smb/test.txt)
|
||||
CONTENT=$(echo $CONTENT | head -n 1 | tr -d '[:space:]')
|
||||
[[ $CONTENT == "testfile" ]]
|
||||
- name: Show logs
|
||||
if: failure()
|
||||
run: |
|
||||
docker exec --user 33 apache ./occ log:file
|
||||
FILEPATH=$(docker exec --user 33 apache ./occ log:file | grep "Log file:" | cut -d' ' -f3)
|
||||
docker exec --user 33 apache cat $FILEPATH
|
||||
|
|
|
|||
Loading…
Reference in a new issue