/
Using Python Agent - Scanning a build

Using Python Agent - Scanning a build

In order to collect coverage information SeaLights agents need to first scan the Python script files for the build information.

See 'Generating an Agent token' for instructions on how to generate a token

Scanning a build

Scanning a build in Python is done using the Python agent with the scan flag:

sl-python scan

you can also use the command with explicit parameters

sl-python scan --tokenfile ./sltoken.txt --buildsessionidfile ./buildSessionidfile --scm none

See 'Using Python agent - Command Reference | Scanning a build' for command details

 

Related content

Using Python Agent - Generating a session ID
Using Python Agent - Generating a session ID
More like this
Running Tests with unittest, unittest2, pytest, nose or behave
Running Tests with unittest, unittest2, pytest, nose or behave
More like this
Using Python Agent - Running backend server using SeaLights agent
Using Python Agent - Running backend server using SeaLights agent
Read with this
Using Java Agents - Scanning a build
Using Java Agents - Scanning a build
More like this
Downloading the Python agent file
Downloading the Python agent file
Read with this
Running Tests without a supported framework
Running Tests without a supported framework
More like this