...
First install and set up the Jenkins plugin, See 'Installing and setting up SeaLights Jenkins plugin - Installation and setup' for details
Configuring your Job
...
- Open your Freestyle Project job
- Relpace your Invoke top-level Maven targets build step with the Invoke top-level Maven targets with SeaLights Continuous Testing build step:
- In the Build section, click Add build step, and select Invoke top-level Maven targets with SeaLights Continuous Testing
- Enter the Maven goals used to build your project in the Goals field
- If your current Invoke top-level Maven targets step has anything in the advanced configuration then apply the same settings to the SeaLights step as well in the Advanced section
- Remove the previous build Invoke top-level Maven targets step that you used to run Maven
Note icon false For descriptions of each of the available options, see Jenkins Plugin Parameters
Maven Project
- In the Pre Steps section, click Add pre-build step and select Invoke top-level Maven targets with SeaLights Continuous Testing
- In the Action field, select Integrate SeaLights into POM files. Requires adding a 'SeaLights Continuous Testing - Cleanup' build step option
- In the Post-Steps section, click Add post-build step and select SeaLights Continuous Testing - Cleanup
Mark the Restore Build File check box
Note icon false For descriptions of each of the available options, see Jenkins Plugin Parameters
Configuring SeaLights options
...
- Press the SeaLights... button to expose the SeaLights parameters
With an existing session ID
Note |
---|
This is the preferred configuration as you will be able to use the session ID in all the subsequent steps ensuring all the common parameters will be the same. See SeaLights Jenkins plugin - Generating a session ID |
- Remove the default text for the App Name
...
Place the following text in the Additional Arguments:
...
Session ID
- Enter ${SL_BUILD_SESSION_ID}
Without an existing session ID
- 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
in the Build Session Id field
Note |
---|
There are various other setting that can be changed and set according to your needs. For descriptions of each of the available options, see Jenkins Plugin Parameters |