Table of Contents |
---|
...
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: |
| Path to the root of the project. Usually where the src folder resides |
| Unique name when providing more than one build scan per build |
| Indicates that you use es6 modules |
| Name of Jenkins job |
| Path to Jenkins log folder |
| Source control used. Current options are: |
| 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 |
| Set this value to ' |
| 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 |
| 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: |
| The provider name of your Source Control Management (SCM) tool. |
| The URL to the repository which contains the code. If not provided, the URL of the remote GIT origin will be used Example: |
| The version of your Source Control Management (SCM) tool. If not provided, Cloud version is assumed |
| Values:
|
Ending a multi module build
...
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 |
| One or several build session ID's (comma separated) of the component(s) to be updated or deleted |
| A path to a JSON file that is in the following format: |
| Address of proxy to run connection through |
...
Code Block |
---|
./node_modules/.bin/slnodejs end {--token <token> | --tokenfile <file>} {--buildsessionid <id> | --buildsessionidfile <file>} [--labid <labid>] [--proxy <proxy>] [--failbuild {true|false}] |
Info |
---|
ex. command: ./node_modules/.bin/slnodejs run --tokenfile ./sltoken.txt --buildsessionidfile buildSessionId --labid "LAB_ID_2" --workspacepath "./server" --useinitialcolor true --useslnode2 -- "./server/app.js" Note the |
Parameter | Description | |
---|---|---|
| Access token generated from the SeaLights server | |
| 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 | |
| Unique ID for a set of test labs in case multiple labs are running simultaneously | |
| Address of proxy to run connection through | |
| Exit with an error code if an error is encountered (Default: false) |
...
Code Block |
---|
./node_modules/.bin/slnodejs run {--token <token> | --tokenfile <file>} {--buildsessionid <id> | --buildsessionidfile <file>} [--workspacepath <path>] [--useinitialcolor {true|false}] [--teststage <teststage>] [--labid <labid>] [--proxy <proxy>] [--useinitialcolorfailbuild {true|false}] [--teststage <teststage>] [--labid <labid>] [--proxy <proxy>] [--failbuild {true|false}] args..args... |
Info |
---|
Example of command:
Note the |
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 |
| When reporting tests manually this should be set to false (Default: false) |
| Name of the test stage |
| Unique ID for a set of test labs in case multiple labs are running simultaneously |
| Address of proxy to run connection through |
| Exit with an error code if an error is encountered (Default: false) |
| Extra arguments for running mocha framework tests |
...