You are not logged in. Click here to log in.

codebeamer Application Lifecycle Management (ALM)

Search In Project

Search inClear

Tags:  not added yet

Execute the Jacoco example in Jenkins

  1. Create a new maven project in Jenkins
  2. Go to the project configuration and set the following as git location: https://github.com/jenkinsci/jacoco-plugin.git
  3. Set build goals and options value to: install jacoco:report
  4. Build the project (It should be run about two minutes)
  5. Go back to the project configuration
  6. Add an CB coverage importer build action
  7. Set the properties, see the example:
  8. Set build goals and options value to: jacoco:report
  9. Build the project

The project build time about 1 minutes after the test cases are created (in the first execution after the post build step is set).

The execution should create new test cases:

A coverage report in the main test run should be something like that: