Skip to content

Commit

Permalink
ensure conditions all work properly in the case of a previous error (#…
Browse files Browse the repository at this point in the history
…22239)

Co-authored-by: Scott Beddall <[email protected]>
  • Loading branch information
2 people authored and jay-most committed Jun 15, 2022
1 parent c0fedf6 commit 7e0a454
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eng/common/pipelines/templates/steps/credscan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ steps:
Write-Host "##vso[task.setvariable variable=SKIP_CREDSCAN]true"
}
displayName: CredScan setup
condition: succeededOrFailed()

- task: securedevelopmentteam.vss-secure-development-tools.build-task-credscan.CredScan@3
displayName: CredScan running
condition: and(succeededOrFailed(), ne(variables['SKIP_CREDSCAN'], true))
Expand Down

0 comments on commit 7e0a454

Please sign in to comment.