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"
|
env: "NODE_ENV=development"
|
||||||
|
|
||||||
- name: Collect CI container logs
|
- name: Collect CI container logs
|
||||||
if: always()
|
if: failure()
|
||||||
working-directory: "."
|
working-directory: "."
|
||||||
run: |
|
run: |
|
||||||
docker logs appsmith 2>&1 > ~/dockerlogs.txt
|
docker logs appsmith 2>&1 > ~/dockerlogs.txt
|
||||||
|
|
||||||
# Upload docker logs
|
# Upload docker logs
|
||||||
- name: Upload failed test list artifact
|
- name: Upload failed test list artifact
|
||||||
if: always()
|
if: failure()
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: dockerlogs
|
name: dockerlogs-${{ matrix.job }}
|
||||||
path: ~/dockerlogs.txt
|
path: ~/dockerlogs.txt
|
||||||
|
|
||||||
# Set status = failedtest
|
# Set status = failedtest
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user