Use variable name properly (#113)

This commit is contained in:
Slava 2024-12-02 15:43:45 +02:00 committed by GitHub
parent 047384a7af
commit abf297263c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -101,6 +101,6 @@ jobs:
- name: Set workflow status from job status - name: Set workflow status from job status
run: | run: |
job_status=$(kubectl get jobs {{ env.NAMEPREFIX }} -n ${{ env.NAMESPACE }} -o jsonpath='{.status.conditions[0].type}') job_status=$(kubectl get jobs ${{ env.NAMEPREFIX }} -n ${{ env.NAMESPACE }} -o jsonpath='{.status.conditions[0].type}')
echo "Job status: $job_status" echo "Job status: $job_status"
[[ "${job_status}" != "Complete" ]] && exit 1 [[ "${job_status}" != "Complete" ]] && exit 1