When you use the PromoteBuild native step in a pipeline, it performs the functions shown below in the background. For more information on PromoteBuild Pipeline steps, see PromoteBuild.
jfrog rt config (configure the JFrog CLI with the credentials in the BuildInfo input)
jfrog rt build-promote
write_output (update the output BuildInfo resource)