...
- To report the Pull Request data to SeaLights, the Task Runner must be installed locally on the BitBucket server:
- Download the Task Runner from the following link: https://s3.amazonaws.com/sl-repo/sl_task_runner/sl_task_runner-2.1.1206.zip
- Prepare a configuration file to be used by the Task Runner in JSON format:
The Bitbucket server properties in this configuration file should be defined within json property "
bitbucketServer
" as follows:The token to be used should be an Agent token
Code Block | ||
---|---|---|
| ||
{ "tokenFile": "config/sltoken.txt", "bitbucketServer": { "url": "http://bitbucket.internal.net:7990", "token":"<personal access token>" } } |
...
You can easily identify the relevant values to pass to the Build Scanner based on the illustration below.
Generating a session ID
...
At the completion of the analysis, Sealights insights will appear at the right hand side of the "Overview" section of your Pull Request.
Clicking on this will open the Quality reports section. Results will appear similar to the one below:
...