GoPublishModule - How it Works

JFrog Pipelines Documentation

Products
JFrog Pipelines
Content Type
User Guide
ft:sourceType
Paligo

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

  • jfrog config add (if there is an output BuildInfo resource, configure the JFrog CLI with the Artifactory credentials in that resource)

  • jfrog config use (to set the current default Artifactory configuration)

  • cp (if there is an input FileSpec, copy the files to the root of the cloned GitRepo)

  • jfrog rt go-config (configure the repository to resolve dependencies)

  • jfrog rt go-publish (publish)

  • add_run_variables (save information about this step for future steps)

  • jfrog rt build-collect-env (collect environment variables)

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

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

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

  • add_run_files (save the build information in the run state for later publish steps)