Apps documentation
TestFLO - Test Management for Jira
TestFLO - Test Management for Jira
8.14.x
8.13.x
8.12.x
8.11.x
8.10.x
8.9.x
8.7.x
8.6.x
8.5.x
8.4.x
8.3.x
8.2.x
8.1.x
8.0.x
FAQ
Release notes
Last updated Aug 31, 2021

Jenkins integration

Integrating Jenkins with TestFLO by installing the TestFLO - Test Management for Jira plugin will allow you to publish build test results and import them as Test Cases right to Test Plans. The plugin provides new build task in Post-build actions and parameterization in the configuration of Jenkins job. It supports JUnit and TestNG XML test results formats.

Warning

The lowest supported Jenkins version is 2.249.

Info

Find TestFLO - Test Management for Jira Jenkins plugin at https://plugins.jenkins.io/testflo-for-jira-test-management-automation/

Installing the plugin

Steps

To install TestFLO - Test Management for Jira Jenkins plugin:

  1. Go to the Jenkins and click the Manage Jenkins option.
  2. Select Manage Plugins from the list.
  3. Go to the Available tab and search TestFLO - Test Management for Jira.
  4. Select the plugin and install it.

Result

You have installed the TestFLO - Test Management for Jira plugin.

Configuration

Steps

To configure the Jenkins job:

  1. Select the job from the list in Jenkins.
  2. Click Configure.
  3. In the General section select the This project is parameterized option.
  4. Parametrize job with 3 String parameters:
    1. testPlanKey - contains the issue key of Test Plan from which job is being run.
    2. targetIteration - tells whether to add Test Cases to current iteration in Test Plan or to create new. You can provide default value using these options:
      • CURRENT_ITERATION
      • NEW_ITERATION
    3. testCaseCreationStrategy - tells whether new Test Cases should be created with test results, or only limited to updating existing Test Cases in Test Plan. You can define a default value, using these options:
      • CREATE_AND_UPDATE
      • UPDATE_EXISTING
        Configured parameters in Jenkins job configuration
        Configured parameters in Jenkins job configuration
  5. In the Post-build Action section, click the Add post-build action.
  6. Select the TestFLO Automation test results publisher.
    Post-build action in Jenkins job configuration
    Post-build action in Jenkins job configuration
  7. Configure the fields:
    Post-build action in Jenkins job configuration
    Post-build action in Jenkins job configuration
  • Jira URL - URL to Jira instance, which receives test results.
  • User - Jira user login.
  • Password - Jira user password.
  • Test results directory - directories from which task gets test results files.
  • Missing Test Plan key parameter behavior - when the task doesn’t get Jira Test Plan issue key, it can either skip this task or fail it.
  1. To verify the task configuration, you can use the Test connection button.
  2. Click Save.

Result

The configuration has been saved.