ci : Preserve the docker logs across the parallel cypress runs to debug failures (#20671)
Co-authored-by: Aishwarya UR <aishwarya@appsmith.com>
This commit is contained in:
parent
f28cba4735
commit
650ddf655c
6
.github/workflows/ci-test.yml
vendored
6
.github/workflows/ci-test.yml
vendored
|
|
@ -380,17 +380,17 @@ jobs:
|
|||
env: "NODE_ENV=development"
|
||||
|
||||
- name: Collect CI container logs
|
||||
if: always()
|
||||
if: failure()
|
||||
working-directory: "."
|
||||
run: |
|
||||
docker logs appsmith 2>&1 > ~/dockerlogs.txt
|
||||
|
||||
# Upload docker logs
|
||||
- name: Upload failed test list artifact
|
||||
if: always()
|
||||
if: failure()
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: dockerlogs
|
||||
name: dockerlogs-${{ matrix.job }}
|
||||
path: ~/dockerlogs.txt
|
||||
|
||||
# Set status = failedtest
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user