add debug
This commit is contained in:
parent
ca46f35b5f
commit
5e7877d63f
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Reference in New Issue