add debug

This commit is contained in:
brokenpip3 2024-02-21 23:16:43 +01:00
parent ca46f35b5f
commit 5e7877d63f
No known key found for this signature in database
GPG Key ID: 1D9BDC803797B4B6
1 changed files with 13 additions and 3 deletions

View File

@ -66,3 +66,13 @@ jobs:
- name: Jenkins Operator - e2e
run: make e2e E2E_TEST_ARGS='-ginkgo.v'
- name: Debug
if: failure()
shell: bash
continue-on-error: true
run: |
randomns=$(kubectl get ns| grep -i 'ns-[0-9]\+' |cut -d ' ' -f 1)
kubectl get pods -n ${randomns}
kubectl get events -n ${randomns}
kubectl logs -l app=jenkins-operator -n ${randomns}