Table of Contents |
---|
Commands to complete
nose
pytest
unit2
unittest
...
Parameter | Description | ||
---|---|---|---|
| Access token generated from the SeaLights server | ||
| Path to file containing access token generated from the SeaLights server | ||
| Session ID of configuration created | ||
| Path to file containing the Session ID of configuration created | ||
| Path to the source workspace | ||
| Comma-separated list of files to exclude from scan Supports wildcards (* = any string, ? = any character). For example: '*-with-dependencies.jar , bad-bad?.war, *-source.jar' | ||
| Path to the root of the project. Usually where the src folder resides | ||
| Unique name when providing more than one build scan per build | ||
es-modules | Indicates that you use es6 modules | ||
| Name of Jenkins job | ||
| Path to Jenkins log folder | ||
| Source control used Current options are: git, none | ||
| A path to a json file that is in the following format: | ||
| Instrument the JS files for providing browser front-end coverage information. Must be used with the outputpath parameter. | ||
| Set this value to 'false' in order to prevent the instrumented javascript to try and download the browser test listener (for example, when using 'Karma'). | ||
| Only instrument the javascript files, without sending the build information to the SeaLights server | ||
| Folder to generate the instrumented JS files in when using the instrumentForBrowsers parameter | ||
| Unique ID for a set of test labs in case multiple labs are running simultaneously or for an integration build. | ||
| Address of proxy to run connection through | ||
| Exit with an error code if an error is encountered (Default: false) | ||
scmProvider | The provider name of your Source Control Management (SCM) tool. | ||
scmBaseUrl | The URL to the repository which contains the code. If not provided, the url of the remote GIT origin will be used Example: | ||
scmVersion | The version of your Source Control Management (SCM) tool. If not provided, cloud version is assumed | ||
babylonPlugins | When there are decorators in the code, you should use this flag with the "decorators-legacy" value |
...
Code Block |
---|
sl-python start {--token <token> | --tokenfile <file>} {--buildsessionid <id> | --buildsessionidfile <file>} --teststage <teststage> [--labid <labid>] [--proxy <proxy>] [--failbuild {true|false}help] |
Parameter | Description | code|||||
---|---|---|---|---|---|---|
| Access token generated from the SeaLights server | |||||
Code Block |
| Path to file containing access token generated from the SeaLights server code | ||||
| Session ID of configuration created | |||||
Code Block |
| Path to file containing the Session ID of configuration created code | ||||
| Name of the test stage code | |||||
| Unique ID for a set of test labs in case multiple labs are running simultaneously | |||||
Code Block |
| Address of proxy to run connection through |
| Exit with an error code if an error is encountered (Default: false) |
Upload report files
Report files must be junit style xml reports
...