...
- Open your Freestyle Project job
- In the Build section, click Add build step, and select SeaLights CLI
Maven Project
- Open your Maven Project job
- In the Pre Steps section, click Add pre-build step and select SeaLights CLI
Configuring SeaLights CLI to generate the session ID
...
- SL_BUILD_SESSION_ID - contains the session ID itself
- SL_BUILD_SESSION_ID_FILE - contains the full path to the buildSessionId.txt in the jobs workspace
Using tokens
This step will also expose a new parameter called SL_TOKEN . It will contain the token entered in the global configuration. This is to allow you have the token when running our agents using the default command line steps.