Table of Contents | ||
---|---|---|
|
SeaLights build scanner (sl-build-scanner.jar) can be used to update build.gradle script with the changes needed to run your Gradle build using SeaLights Gradle plugin in a similar fashion as for Maven pom integration.
Note |
---|
Automatic integration of Sealights settings into your build.gradle script is currently supported only for Groovy language. |
...
Note |
---|
|
...
The Gradle plugin downloads the recommended agent at the beginning of the run. If you want to pre-download them and provide them to the plugin, you can do so with the flags scannerJar & listenerJarflags scannerJar
& listenerJar
.
Info |
---|
The agents referred here should be downloaded either with the latest agent or the recommended one as stated in Downloading the java agent files and made available prior to the Gradle execution. |
Code Block |
---|
"scannerJar": "./sl-build-scanner.jar"
"listenerJar": "./sl-test-listener.jar" |
...
Sample shell script
This script is very often added to a new pre-build step in your CI configuration (i.e. Jenkins).
...
Page Properties | ||
---|---|---|
| ||
|