Skip to content

Commit

Permalink
fix(ci): ticket creation on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
sc979 committed Feb 28, 2024
1 parent d17d086 commit c9ccdc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/veracode-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ jobs:

- name: Backup analysis reports
# debug step used to investigate support case
if: ( success() && vars.VERACODE_BACKUP_DEBUG == 'true' ) || failure()
if: vars.VERACODE_BACKUP_DEBUG == 'true' || failure()
run: |
echo "[DEBUG] downloaded baseline details in /tmp"
ls -la /tmp
Expand Down Expand Up @@ -202,7 +202,7 @@ jobs:

- name: Save baseline files
# only baseline files not generated from a development branch are saved
if: success() && needs.build.outputs.development_stage != 'Development'
if: vars.VERACODE_BACKUP_DEBUG == 'true' || failure()
run: |
BRANCHES=(dev master)
for BRANCH in "${BRANCHES[@]}"; do
Expand Down

0 comments on commit c9ccdc7

Please sign in to comment.