This page summarizes the agents commands for genrating a pull request specific build session ID and configuration, for the following technologies:
...
Value | Description |
---|---|
sl | Display log output to the console |
sl-file | Export the log information to a log file named 'sl.node.log' |
...
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 |
---|
|
- Enable This Step - Check box to allow you to disable a step without deleting it. When marked the step will be performed
- Fail the build if this step fails - Check box to allow you to choose if the job will fail or not if this step fails
- 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.
It should be exactly the same as what was defined to SeaLights for the merged branch so that the compared results will be the same
Enter the following parameters:
- If you are building a Java project, then open the Add drop down and select Java Options
Parameter | Description | |||
---|---|---|---|---|
appnameApp Name | The name of the app the Pull Request is being merged to (as provided to SeaLights) | |||
pullRequestNumber Latest Commit | The latest commit SHA of the Pull Request branch | |||
Repository URL | The repository URL of the Pull Request number that is being evaluated | targetBranchand merged branchs | ||
Target Branch | The name of the branch the Pull Request is being merged to (as provided to SeaLights)latestCommit | |||
The latest commit SHA of the Pull Request branchNumber | repositoryUrl | The | repository URL of thePull Request | and merged branchsnumber that is being evaluated |
Additional Arguments | Section to provide additional parameters if needed usually to override the global parameters. See the field help () in Jenkins for more details |