Versions Compared

Key

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

...

Code Block
languagebash
Unix:
./node_modules/.bin/npx slnodejs start --tokenfile /path/to/sltoken.txt --labid "<Lab ID>" --teststage "Unit Tests"

Windows:
call .\node_modules\.bin\ npx slnodejs start --tokenfile \path\to\sltoken.txt --labid "<Lab ID>" --teststage "Unit Tests"

Expand
titleUsing Build Session ID
Code Block
languagebash
Unix:
./node_modules/.bin/
npx slnodejs start --tokenfile /path/to/sltoken.txt --buildsessionidfile buildSessionId --teststage "Unit Tests"

Windows:
call .\node_modules\.bin\ npx slnodejs start --tokenfile \path\to\sltoken.txt --buildsessionidfile buildSessionId --teststage "Unit Tests"
Info

See 'Node.js Command Reference - Starting a test stage' for full parameter details

...

Code Block
languagebash
Unix:
./node_modules/.bin/
npx slnodejs uploadReports --tokenfile /path/to/sltoken.txt --labid "<Lab ID>" --reportFile "/path/to/junit_report.xml"

Windows:
call .\node_modules\.bin\ npx slnodejs uploadReports --tokenfile \path\to\sltoken.txt --labid "<Lab ID>" --reportFile "\path\to\junit_report.xml"

Expand
titleUsing Build Session ID
Code Block
languagebash
Unix:
./node_modules/.bin/
npx slnodejs uploadReports --tokenfile /path/to/sltoken.txt --buildsessionidfile buildSessionId --reportFile "/path/to/junit_report.xml"

Windows:
call .\node_modules\.bin\ npx slnodejs uploadReports --tokenfile \path\to\sltoken.txt --buildsessionidfile buildSessionId --reportFile "\path\to\junit_report.xml"

...

Code Block
languagebash
Unix:
./node_modules/.bin/
npx slnodejs end --tokenfile /path/to/sltoken.txt --labid "<Lab ID>"

Windows:
call .\node_modules\.bin\ npx slnodejs end --tokenfile \path\to\sltoken.txt --labid "<Lab ID>"

Expand
titleUsing Build Session ID
Code Block
languagebash
Unix:
./node_modules/.bin/
npx slnodejs end --tokenfile /path/to/sltoken.txt --buildsessionidfile buildSessionId

Windows:
call .\node_modules\.bin\ npx slnodejs end --tokenfile \path\to\sltoken.txt --buildsessionidfile buildSessionId
Info

See 'Node.js Command Reference - Ending a test stage' for full parameter details

...