Skip to content

Commit

Permalink
Update pipelinescan-baseline.yml for Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
IGDEXE committed Jul 26, 2024
1 parent 4de8fd6 commit 95be18c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion pipelinescan-baseline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ steps:
inputs:
script: |
ls
FILE=$(ls -1t | grep "$BASE_NAME" | head -n 1)
displayName: 'Validando arquivos de Baseline'

- script: |
Expand All @@ -41,7 +42,13 @@ steps:
destinationFolder: '$(Build.ArtifactStagingDirectory)'
cleanDestinationFolder: false
- script: |
echo $(veracodeNewBaselineFile)
ls
veracodeBaselineFile=$(ls -1t | grep "$BASE_NAME" | head -n 1)
echo $veracodeBaselineFile
displayName: 'Validando arquivos de Baseline'
- script: |
echo "Novo baseline: $(veracodeNewBaselineFile)"
echo "Antigo baseline: $veracodeBaselineFile"
java -jar $(Build.ArtifactStagingDirectory)/pipeline-scan.jar -vid $(VID) -vkey $(VKEY) --file '$(caminhoPacote)' --issue_details true --json_output_file '$(veracodeNewBaselineFile)'
displayName: 'Veracode PipelineScan'
continueOnError: true
Expand Down

0 comments on commit 95be18c

Please sign in to comment.