Skip to content

Commit

Permalink
Update azure-pipelines.yml
Browse files Browse the repository at this point in the history
added downloading the api wrapper to the azure-pipelines.yml
  • Loading branch information
bnreplah authored Jun 4, 2024
1 parent 257bc14 commit 5359c61
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,19 @@ steps:

# store artifacts for the pipeline scanner

##################################################################################################
# API Calls - Downloading API Wrapper
##################################################################################################
# - task: PowerShell@2
# inputs:
# targetType: 'inline'
# script: |
# $versionstring = curl https://repo1.maven.org/maven2/com/veracode/vosp/api/wrappers/vosp-api-wrappers-java/maven-metadata.xml | findstr /r "latest";
# $version = $versionstring.Trim() -replace '<latest>', '' -replace '</latest>', '';
# curl https://repo1.maven.org/maven2/com/veracode/vosp/api/wrappers/vosp-api-wrappers-java/$version/vosp-api-wrappers-java-$version-dist.zip -o dist.zip
# unzip -o dist.zip
# ls

#- publish: $(System.DefaultWorkingDirectory)/results.json
# artifact: VeracodeBaseline
## This task makes the pipeline build artifacts available in a known location for upload to Veracode
Expand Down

0 comments on commit 5359c61

Please sign in to comment.