Versions Compared

Key

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

Before running the build scan and tests, you need to must initialize the agent with the token to use and create a session ID. The session ID is provided for each step in order to link them together as one complete cycle..

Initializing the SeaLights CLI

Code Block
./slcli config init --lang go --token ./sltoken.txt

Generating a session ID

The Build Session is used to uniquely identify a build of uniquely identifies your application and to associate test '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.

Code Block
languagebash
./slcli config create-bsid --app <your-app-name> --branch <your-branch-name> --build <your-build-number>

...