Versions Compared

Key

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

...

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:
    1. In the Build section, click Add build step, and select Invoke top-level Maven targets with SeaLights Continuous Testing
    2. Enter the Maven goals used to build your project in the Goals field
    3. 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
    4. Remove the previous build Invoke top-level Maven targets step that you used to run Maven
    Note
    iconfalse
    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
    iconfalse
    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}

    Image Removed

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
    Image Removedin the Build Session Id field
    Image Added
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