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.8.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 Oct 4, 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 testing frameworks and tools:

  • JUnit (XML)
  • TestNG (XML)
  • Cucumber (JSON)
Warning

The lowest supported Jenkins version is 2.249.

Compatibility with TestFLO app

Jenkins plugin version TestFLO app version
1.1.0 8.9.0 and higher
1.0.5 8.0.0 to 8.8.1

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:

    Configured parameters in Jenkins job configuration
    Configured parameters in Jenkins job configuration

    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
  5. In the Post-build Actions 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

    1. Jira URL - URL to Jira instance, which receives test results.
    2. User - Jira user login.
    3. Password - Jira user password.
    4. Test output file format - test result file format. You can choose from:
      • Junit (XML)
      • TestNG (XML)
      • Cucumber (JSON)
        Note
        The given job must contain tests of the type indicated in this option only.
    5. Test results files - path where test results are stored. From this place the plugin gets the test results to send them to Jira.
    6. Missing Test Plan key parameter behavior - when the job doesn’t receive the Test Plan issue key from Jira, it can either skip this task or fail it.
  8. To verify the task configuration, you can use the Test connection button.

  9. Click Save.

Result

You have saved the configuration. Now you can run your tests from the Test Plan using the Run automated tests operation.