/
Using Go Agent - Initializing agent and Generating a session ID
Using Go Agent - Initializing agent and Generating a session ID
Before running the build scan and tests, you must initialize the agent with the token to use and create a session ID.
Initializing the SeaLights CLI
./slcli config init --lang go --token ./sltoken.txt
Generating a session ID
The Build Session uniquely identifies your application's build and associates any coverage (i.e., all test stages and tests) with that specific build. The session ID is provided for each step and command to link them together as one complete cycle.
./slcli config create-bsid --app <your-app-name> --branch <your-branch-name> --build <your-build-number>
, multiple selections available,
Related content
Using Go Agent - Scanning a build
Using Go Agent - Scanning a build
More like this
Using Go Agent - Running your instrumented application for testing
Using Go Agent - Running your instrumented application for testing
More like this
Downloading the Go agent
Downloading the Go agent
More like this
SeaLights Go agent
SeaLights Go agent
Read with this
Using Go Agent - Running your Tests
Using Go Agent - Running your Tests
More like this
Installing our agents - Typical Setup
Installing our agents - Typical Setup
Read with this