...
Code Block | ||
---|---|---|
| ||
Unix: ./node_modules/.bin/slnodejs config --tokenfile /path/to/sltoken.txt --appname "myApp" --branch "master" --build "1" Windows: call .\node_modules\.bin\slnodejs config --tokenfile \path\to\sltoken.txt --appname "myApp" --branch "master" --build "1" |
Each time this command successfully connects to your SeaLights instance, data structures will be created to store the build map, test monitoring data and, generally, data pertaining to this build of your application.
Each time you call this command, the trio of appname
/ branch
/ buildname
needs to be unique. Typically, the buildname
changes each time, as you will scan your build once following each build of your application.
You can provide a timestamp for the buildname
parameter. For example: --build `date +"%y%m%d_%H%M"`
(Linux) or --build (Get-Date $date -Format "yyyMMdd_HHmm")
(Windows Powershell)
...