...
Note |
---|
Do not call the JSON file 'sealights.json' as the agent uses this file name for override options For troubleshooting purpose, you can use "buildName":"SL_Timestamp" in your JSON file to have the Sealights Gplugin generating automatically a time stamp (yyyy.MM.dd-hh.mm format) as a default buildname
|
...
Code Block |
---|
"sealightsJvmParams": {
"sl.scm.provider": "bitbucket",
"sl.scm.baseUrl": "https://my.bitbucket.com/projects/ABCD/repos/XYZ/browse/A1",
"sl.scm.version": "4.9.0"
} |
Pre-downloading the agents
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 & listenerJar.
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).
...