jfrog / build-info

Artifactory's open integration layer for CI build servers
https://www.buildinfo.org
Apache License 2.0
145 stars 154 forks source link

Support for Artifactory XRay V2 #782

Open cpuzicha opened 5 months ago

cpuzicha commented 5 months ago

Is your feature request related to a problem? Please describe. It is currently impossible to query the results of the XRay scan without actively triggering one. Our usecase is a CI pipeline that does:

Describe the solution you'd like to see Please implement the support for the XRay V2 API, in particular the GET XRay scan result for a given build

Describe alternatives you've considered We are currently using the JFrog CLI, but this means a change in system (gradle vs bash)

Additional context To support asynchron operation (ie 'artifactoryPublish' as first call, then some query for the results later), add a reader for the BuildInfo that is written by artifactoryPublish (or to be precise: by ArtifactoryDeployTask).