Versions Compared

Key

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

...

Info

See 'Generating a 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

Code Block
languagebash
themeEclipse
titleSample command
./node_modules/.bin/slnodejs config --tokenfile "/path/to/tokenFile" --appname "myApp" --branch "master" --build "23"
Info

See 'Node.js Command Reference - Creating a session ID' for full parameter details


Using the session ID

The session ID will be printed to the console output and a file called 'buildSessionId.txt' will be generated containing it.

...