GoPublishBinary - How it Works

JFrog Pipelines Documentation

JFrog Pipelines
Content Type
User Guide

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

  • jfrog rt config (if there is a BuildInfo output, configure the JFrog CLI with those credentials)

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

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

  • jfrog rt upload (upload the binary)

  • jfrog rt build-publish (if autoPublishBuildInfo is true, publish the build info)

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

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

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