Target Properties
Property Name | Property Code | Required | Description |
|---|---|---|---|
Gradle Home |
| No | Path where Gradle is installed. Value may include the bin folder (e.g. C:\installs\gradle or C:\installs\gradle\bin are allowed) This folder should have a gradle executable (gradle for unix based systems & gradle.bat for windows) |
Inputs
Input Name | Input Code | Required | Description |
|---|---|---|---|
Use Gradle Wrapper |
| No | Check to use a Gradle Wrapper to execute the build Set to false by default If the value is false and the FDGRD_GRADLE_HOME is not set, then the latest version of gradle (currently: 8.14.4) is downloaded and set up @Since 11.2.0.0 |
Project Source Folder |
| No | Path to the project which contains a build file. If a relative path is given, a path inside |
Build File Name |
| No | Specify the name of the desired Gradle build file if it is not |
Switches |
| No | Command-line switches separated by commas, semicolons, or spaces (e.g. “—scan —all” or “—scan;—all”) Usage of certain switches is not allowed to avoid interference with plugin features and these are ignored even if present in the input(e.g. -b, —build-file, -x, -P, —project-prop, -D, —system-prop) |
Tasks |
| No | Gradle life cycle tasks to execute separated by spaces (e.g. “clean build”) If both |
System Properties |
| No | Newline delimited. Sets a system property for the build process (e.g. gradle.wrapperUser=myuser) |
Project Properties |
| No | Newline delimited, Sets a project property of the root project (e.g. org.gradle.project.foo=bar) |
Save Artifacts |
| No | If checked, artifacts will be saved to the Artifacts folder automatically. Otherwise you may want to place a saveArtifacts step after this All files present directly in the subfolder location are copied if checked |
Artifacts Subfolder |
| No | Subfolder inside the Project Location where artifacts are generated by gradle Defaults to “build/libs” If your artifacts need to come from another location, specify it instead |
XML Test Results Subfolder | FDGRD_INP_XML_TEST_RESULTS_DIR | No | Subfolder inside the Project Location where machine readable(XML) test result reports generated by gradle are to be stored Defaults to “build/test-results/test” |
Artifacts
This operation produces artifacts if theFDGRD_INP_ARTIFACTS_SUBFOLDER is checked. Otherwise, you may wish to use the file plugin to move the correct files to the artifacts folder later in the workflow.