jfrog-azure-devops-extension
jfrog-azure-devops-extension copied to clipboard
jfrog xray scan report integration with Azuredevops task
We are using Azuredevops Jfrog tasks to build our mvn/npm/gradle projects and, using the below jfrog publish buildinfo and scan task to get the violation list. But as part of the same pipeline , we are planning for automated way (either by script or Azuredevops task) to create a report in xray by including the pipeline used "source Repo" and the build scope of the same pipeline.
Tried the XRAY api options, but failed to to generate it dynamically as part of the pipeline with these dynamic scopes.
- task: JFrogPublishBuildInfo@1
name: publishBInfo
displayName: 'Publish Build Info to JFrog'
condition: succeeded()
inputs:
artifactoryConnection: 'myserviceconnection'
buildName: '$(Build.DefinitionName)'
buildNumber: '$(Build.BuildNumber)'
- task: JFrogBuildScan@1
enabled: false
name: xrayScan
displayName: 'Security Scan'
condition: succeeded()
inputs:
xrayConnection: 'myserviceconnection'
buildName: '$(Build.DefinitionName)'
buildNumber: '$(Build.BuildNumber)'
allowFailBuild: true
vuln: true
Any guidance?