/
Using Python agent - Command Reference

Using Python agent - Command Reference

 

Passing Parameters as Environment Variables

All of the below sl-python CLI parameters can be passed as an environment variable by prepending SL_ to them.

For example,

  • the param buildname would be set with SL_BUILDNAME

  • the param buildsessionid would be set with SL_BUILDSESSIONID

  • the param proxy would be set with SL_PROXY

Generating a session ID

Standard Session ID

sl-python config {--token <token> | --tokenfile <file>} --appname <appname> --branchname <branch> --buildname <build> --workspacepath <path> [--include <include