Skip to content

Commit

Permalink
Update azure-pipelines.yml and added fortify scan stage
Browse files Browse the repository at this point in the history
  • Loading branch information
samithaf committed Jun 4, 2024
1 parent c255ff0 commit 6685b06
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ stages:

- stage: Fortify
jobs:
- job: fortify
- job: 'fortify_prepare'
pool:
vmImage: 'ubuntu-latest'
steps:
Expand All @@ -61,3 +61,20 @@ stages:
includeRootFolder: false
archiveType: 'zip'
archiveFile: '$(Build.ArtifactStagingDirectory)/source.zip'

- publish: '$(Build.ArtifactStagingDirectory)/source.zip'
artifact: drop
- job: 'fortify_scan'
dependsOn: 'fortify_prepare'
pool:
vmImage: 'ubuntu-latest'
steps:
- download: current
artifact: drop
- task: Bash@3
inputs:
targetType: 'inline'
script: |
cd $(Pipeline.Workspace)/drop
ls && cd $(Build.SourcesDirectory)
echo $(Build.BuildId)

0 comments on commit 6685b06

Please sign in to comment.