This topic lists tags that can be used with GradleBuild Pipeline steps. For more information about GradleBuild Pipeline steps, see GradleBuild.
name
An alphanumeric string (underscores are permitted) that identifies the step.
type
Must be GradleBuild
for this step type.
configuration
Specifies all configuration selections for the step's execution environment. This step inherits the Bash/ PowerShell step configuration tags, including these pertinent tags:
Tag | Description of usage | Required/Optional |
---|---|---|
| Must specify an Artifactory Integration or JFrog Platform Access Token Integration. | Required |
| Must specify a GitRepo resource. The Gradle command will perform the build on files in the Git repository at May also optionally specify a FileSpec resource that specifies what files to copy to | Required |
| Must specify a BuildInfo resource if If | May be required |
In addition, these tags can be defined to support the step's native operation:
Tags derived from Bash
All native steps derive from the Bash step. This means that all steps share the same base set of tags from Bash, while native steps have their own additional tags as well that support the step's particular function. So it's important to be familiar with the Bash step definition, since it's the core of the definition of all other steps.
Tag | Description of usage | Required/Optional |
---|---|---|
| Specifies a command line string of options to use with the Gradle build tool. | Required |
| Location of the source files to build relative to the root of the GitRepo repository. If no path is specified, the root of the repository will be used. | Optional |
| Artifactory repository to be used to resolve dependencies. May not be used with | Optional |
| Artifactory repository to which to deploy. May not be used with | Optional |
| Set to Do not use with | Optional |
| If set to Do not use with | Optional |
| When set to Default is | Optional |
| When set to Default is | Optional |
| When set to Default is | Optional |
| Gradle configuration file. If specified, the The NoteUse this option only if you have committed this configuration file to your source. | Optional |
| Gradle configuration file location. A | Optional |
execution
Declares collections of shell command sequences to perform for pre- and post-execution phases:
Tag | Description of usage | Required/Optional |
---|---|---|
| Commands to execute in advance of the native operation | Optional |
| Commands to execute on successful completion | Optional |
| Commands to execute on failed completion | Optional |
| Commands to execute on any completion | Optional |
The actions performed for the onExecute
phase are inherent to this step type and may not be overridden.