When you use the XrayScan native step in a pipeline, it performs the functions shown below in the background. For more information on XrayScan Pipeline steps, see XrayScan.
jfrog rt config (if there is a BuildInfo output, configure the JFrog CLI with the credentials of the input BuildInfo resource)
jfrog rt use (specify the configured credentials to use)
jfrog rt build-scan (trigger a scan)
replicate_resource (if there is an output BuildInfo, copy the properties of the input BuildInfo resource to the output)
write_output (if there is an output BuildInfo, update the output BuildInfo resource buildName and buildNumber)