Table of Contents |
---|
Integrating into the build.gradle files
Code Block | ||||
---|---|---|---|---|
| ||||
java -jar sl-build-scanner.jar -gradle -configfile <arg> -workspacepath <arg> [-pluginversion <arg>] [-repoConfig <arg>] [-includedProjects <arg>] [-excludedProjects <arg>] |
Parameter | description |
---|---|
configfile | The path to the JSON configuration you created with the parameters to be provided to the SeaLights Gradle Plugin |
workspacepath | The base path to the location of the build.gradle files to update |
pluginversion | (Optional) Version of the Gradle SeaLights Plugin to insert into the build.gradle |
repoConfig | (Optional) Configuration of repositories from which the SeaLights Gradle plugin will be taken. |
includedProjects | (Optional) Comma-separated list of Gradle (sub)projects to include in SeaLights integration. |
excludedProjects | (Optional) Comma-separated list of Gradle (sub)projects to exclude from SeaLights integration. |
Restoring the build.gradle file to its previous state
Code Block | ||||
---|---|---|---|---|
| ||||
java -jar sl-build-scanner.jar -restoreGradle -workspacepath <arg> |
Flag | Use |
---|---|
workspacepath | The base path to the location of the build.gradle files to update |
Additional Configuration Options
...
You can add tags to be viewed in the Sealights Cockpit for the agents started by this Gradle job by passing them through the sl.tags property in the sealightsJvmParams field
Code Block | ||
---|---|---|
| ||
"sealightsJvmParams": {
"sl.tags": "mytag",
} |