/
SeaLights Jenkins plugin - Running Tests using the SeaLights CLI

SeaLights Jenkins plugin - Running Tests using the SeaLights CLI

Installation

First install and set up the Jenkins plugin, See 'SeaLights Jenkins plugin - Installation and setup' for details

Starting your tests

  • Open your job
  • In the Build section, click Add build step, and select SeaLights CLI
  • In the Action field, select Step 1 - Start Test Execution
  • Enter the Build Session Id. Usually ${SL_BUILD_SESSION_ID}
  • Enter the Test Stage name
For descriptions of each of the available options, see Jenkins Plugin Parameters

Running your tests - Functional Tests

Before running your functional tests you need to set up the backend server to receive the test footprints. See 'Using Java Agents - Installing Test Listener as Java Agent'

Once set up you now run your tests normally while generating one or more JUnit xml result files to be reported to the SeaLights server.

Uploading your test results

  • In the Build section, click Add build step, and select SeaLights CLI
  • In the Action field, select Step 2 - Upload Report
  • Enter the Build Session Id. Usually ${SL_BUILD_SESSION_ID}
  • Provide the list of Report Files or Report Folders to upload
For descriptions of each of the available options, see Jenkins Plugin Parameters

Ending your tests

  • Open your job
  • In the Build section, click Add build step, and select SeaLights CLI
  • In the Action field, select Step 3 - End Test Execution
  • Enter the Build Session Id. Usually ${SL_BUILD_SESSION_ID}
For descriptions of each of the available options, see Jenkins Plugin Parameters

Related content

SeaLights Jenkins plugin - Installation and setup
SeaLights Jenkins plugin - Installation and setup
More like this
SeaLights Jenkins plugin - Scanning Builds and running Unit Tests using Maven
SeaLights Jenkins plugin - Scanning Builds and running Unit Tests using Maven
More like this
SeaLights Jenkins plugin - Generating a session ID
SeaLights Jenkins plugin - Generating a session ID
Read with this
SeaLights Jenkins Plugin - Running tests using Maven
SeaLights Jenkins Plugin - Running tests using Maven
More like this
Installing our agents - Typical Setup
Installing our agents - Typical Setup
Read with this
SeaLights Jenkins Plugin - Config Parameters
SeaLights Jenkins Plugin - Config Parameters
More like this