...
Code Block | ||
---|---|---|
| ||
java {-Dsl.tokenFile=./path/to/sltoken.txttoken=<arg> | -tokenfile=<arg>} -Dsl.github.url=<arg> -Dsl.github.appId=<app ID assigned to SL app> <appID> -Dsl.github.privateKeyFile=</path/to/private-key-file> {-Dsl.github.checkRunName=<arg>} {-Dsl.proxy=<arg>} -jar ./sl_task_runner.jar |
...
Property | Default | Required | Description | ||||
---|---|---|---|---|---|---|---|
sl.config.file | - | mandatory* | Path to JSON file containing the Task Runner configuration | ||||
sl.token | - | mandatory ** | Access token generated from the SeaLights server (Agent token) | ||||
sl.tokenFile | - | mandatory ** | Path to file containing the access token generated from the SeaLights server | ||||
sl.buildSessionId | - | optional | The PR build-session-id to poll for. In this mode only this build will be updated in the SCM | ||||
sl.buildSessionIdFile | - | optional | Path to file containing the build-session-id to poll for. In this mode only this build will be updated in the SCM | ||||
sl.bsidPollingTimeoutMins | 6 | optional | Specifies the maximum amount of time to wait for the result for the specified build when working in the one time build session ID mode | ||||
sl.github.enabled | false | optional | Flag allows support of github channel. | ||||
sl.github.url | mandatory * | Repository url | |||||
sl.github.appId | - | mandatory * | Github application idApplication ID assigned to Sealighs' app | ||||
sl.github.privateKeyFile | - | mandatory * | Github private key file | ||||
sl.github.checkRunName | Sealights | optional | Check-run name (string) | sl.upgradeIntervalMins | 1440 | optional | Interval in minutes for auto-upgrade version checking (default is 24 hours). |
sl.taskPollingIntervalSecs | 60/10 | optional | Interval in second for getting SL tasks for execution | ||||
sl.taskTimeoutSecs | 60 | optional | Time in second allocated for task execution. | ||||
sl.logs.sendIntervalMin | 5 | optional | Interval in minutes for sending accumulated logs to the cloud. | ||||
sl.proxy | - | optional | The proxy configuration for connection to Sealights. |
...
Code Block | ||
---|---|---|
| ||
java {-Dsl.tokenFile=/path/to/sltoken.txttoken=<arg> | -tokenfile=<arg>} -Dsl.bitbucketServer.url=<url> -Dsl.bitbucketServer.token=<personal access token> {-Dsl.proxy=<arg>} -jar ./sl_task_runner.jar |
...
Property | Default | Required | Description | ||||
---|---|---|---|---|---|---|---|
sl.config.file | - | mandatory * | Path to JSON file containing the Task Runner configuration | ||||
sl.token | mandatory ** | Access token generated from the SeaLights server (Agent token) | |||||
sl.tokenFile | mandatory ** | Path to file containing the access token generated from the SeaLights server (Agent token) | |||||
sl.buildSessionId | - | optional | The PR build-session-id to poll for. In this mode only this build will be updated in the SCM | ||||
sl.buildSessionIdFile | - | optional | Path to file containing the build-session-id to poll for. In this mode only this build will be updated in the SCM | ||||
sl.bsidPollingTimeoutMins | 6 | optional | Specifies the maximum amount of time to wait for the result for the specified build when working in the one time build session ID mode | ||||
sl.bitbucketServer.enabled | false | optional | Flag allows support of bitbucket server channel; is set automatically true, if any other property is defined | ||||
sl.bitbucketServer.url | mandatory | URL of the Bitbucket Server | |||||
sl.bitbucketServer.token | mandatory | Personnal Access Token generated from your Bitbucket Server Instance | |||||
sl.upgradeIntervalMins | 1440 | optional | Interval in minutes for auto-upgrade version checking (default is 24 hours). | sl.taskPollingIntervalSecs | 60/10 | optional | Interval in second for getting SL tasks for execution |
sl.taskTimeoutSecs | 60 | optional | Time in second allocated for task execution; if expires, task will be aborted and reported with timeout status | ||||
sl.logs.sendIntervalMin | 5 | optional | Interval in minutes for sending accumulated logs to the cloud. If not defined, is forced to the default value on start | ||||
sl.proxy | - | optional | The proxy configuration for connection to Sealights. |
...