GradleBuild - How it Works

JFrog Pipelines Documentation

JFrog Pipelines
Content Type
User Guide

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

  • jfrog rt config (configure JFrog CLI with the integration listed in the yaml)

  • jfrog rt gradle-config (if configFileName and configFileLocation are not set in yaml)

  • jfrog rt gradle $gradleCommand (the main gradle build command)

  • add_run_variables (save information in run state for future steps to reference)

  • jfrog rt build-collect-env (collect the build environment, preparing for build publish)

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

  • write_output (update the BuildInfo output resource with the published name/number)

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

  • add_run_files (adds build info to run state)