Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

Info

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 build scan flag.:

Code Block
Sample command
languagebash
themeEclipse
title
sl-python scan

you can also use the command with explicit parameters

Code Block
languagebash
sl-python scan --tokenfile ./sltoken.txt --buildsessionidfile ./buildSessionidfile --scm none
Info

See 'https://sealights.atlassian.net/wiki/spaces/SUP/pages/1721106445/Using+Python+agent+-+Command+Reference#Scanning-a-build' for command details