Versions Compared

Key

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

This page summarizes the agents commands for genrating a pull request specific build session ID and configuration, for the following technologies:

...

Info

The packages included and excluded should be exactly the same as what was defined to SeaLights for the merged branch so that the compared results will be the same

Jenkins plugin

NodeJS


Note
  • Minimum slnodejs Agent version supporting prConfig command: 3.5.193.
  • Recommended version is: latest.

...

ValueDescription
sl
Display log output to the console
sl-file
Export the log information to a log file named 'sl.node.log'

...

Code Block
languagebash
titleSample
export NODE_DEBUG=sl
export SL_LOG_LEVEL=debug


Jenkins plugin

You can refer to the default configuration page for Generating a Build Session ID using the Jenkins Plugin in regards to installation and other details.

Note
  • Minimum slnodejs Agent version supporting prConfig command: 1.3.255.
  • Recommended version is: latest.
  • In the Action select PrConfig - Create build session data
  • If you are building a Java project, then open the Add drop down and select Java Options
    • In the Monitored Application Packages enter the list of packages that you want SeaLights to analyze. It should be a comma separated list with asterisks before and after each entry

  • Enter the App Name as you want it to be displayed in the SeaLights dashboard. The default is ${JOB_NAME} for the Jenkins job name

Image Added