PublishBuildInfo - How it Works

JFrog Pipelines Documentation

Products
JFrog Pipelines
Content Type
User Guide
ft:sourceType
Paligo

When you use the PublishBuildInfo native step in a pipeline, it performs the functions shown below in the background. For more information on PublishBuildInfo Pipeline steps, see PublishBuildInfo.

  • jfrog rt config (configure the JFrog CLI with the BuildInfo output credentials)

  • jfrog rt use (specify the configured credentials to use)

  • restore_run_files (copy the output and build info from the input step)

  • jfrog rt build-publish (publish the build info)

  • jfrog rt build-scan (if forceXrayScan is true, trigger a scan)

  • write_output (if autoPublishBuildInfo is true, update the output BuildInfo resource)

  • add_run_files (update the build info saved in run state)