Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
printablefalse

...

  1. token or tokenFile - set with a token or a file containing the token obtained from the SeaLights dashboard

  2. If you create a Build Session ID externally, provide the following fields:

    1. buildSessionId or buildSessionIdFile - Set with a build session id or a file containing the build session id created by the config step

    2. createBuildSessionId - Set to false

  3. If you want to create a Build Session ID using the SeaLights Gradle plugin, provide the following fields:

    1. createBuildSessionId - Set to true

    2. appName - Name of the application as you want to see it on the SeaLights dashboard

    3. branchName - Name of the branch as you want to see it on the SeaLights dashboard

    4. buildName - Name of the build as you want to see it on the SeaLights dashboard

    5. packagesIncluded - Comma-separated list of packages to include in scan. Note: This is defining a subset, so it must include the astrix to include all sub packages/classes

  4. executionType - Provide which executions need to handled by the Gradle plugin

    1. full - Execute both the build scanner and the test listener

    2. testsonly - Execute only the test listener

    3. scanonly - Execute only the build scanner

  5. filesincluded - (Optional) Set to the binary files to scan. Default: *.class

  6. filesexcluded - (Optional) Set to the binary files to excluded from the scan. Default: *test-classes*

  7. workspacepath - Set to the path to the binary files to scan. Default: project.buildDir

  8. recursive - (Optional) Set to true to scan all the subdirectories of workspacepath. Default: true

  9. includeResources - (Optional) Set to include the token and build session ID files in the built resources

  10. testTasksAndStages - (Optional) Mapping of test tasks’s names to test stage names as they will be displayed on the SeaLights dashboard. It should be of the format {"testTask1":"testStage1", "testTask2":"testStage2"}

  11. labId - (Optional) Unique ID for a set of test labs in case multiple labs are running simultaneously

  12. filesStorage - Set to the temp folder for the agent to create temporary files in. For example /tmp

  13. logEnabled - Set to true if you want a log to be created

  14. logLevel - Set the log level to create. For example WARN or INFO

  15. proxy - (Optional) Address of proxy to run connection through

  16. sealightsJvmParams - Entry to provide JVM params to the SeaLights agent. It should be of the format {"key1":"val1", "key2":"val2"}

...

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

...