/
Using Node.js Agent - Generating a session ID

Using Node.js Agent - Generating a session ID

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

See 'Generating an Agent token' for instructions on how to generate a token

Generating a session ID in Node.js

Generating a session ID in Node.js is done using the SeaLights Node.js Agent with the config flag

npx slnodejs config --tokenfile ./sltoken.txt --appname "myApp" --branch "master" --build "1"