Configuring Predictors for Release Insights
The Bug Content and Dev Quality Predictors are available in the Insights section of Eggplant DAI. However, to consume data from these predictors, you must first install the Eggplant RI Predictors program file and configure the settings provided in the configuration files that comes packaged with it. The two configuration files that you need to modify are located in the project_config and config folders in the Eggplant_RI directory that is available after installation.
Installing the Eggplant DAI RI Predictors
Follow these steps to install Bug Content and Dev Quality Predictors on top of Eggplant DAI 4.1:
Before you begin, ensure that the latest version of Eggplant DAI is installed.
- Download the Eggplant_RI_Predictors.msi file from the Eggplant DAI Downloads page.
- Double-click the downloaded installation file to launch the Setup wizard.
- Accept the license agreement and click Install to proceed through the installation process.
- Click Finish to complete the installation.
Eggplant DAI Authentication
When setting up Eggplant DAI RI predictors, you need to specify the Eggplant DAI server location and valid credentials for the predictors to authenticate with a live instance of Eggplant DAI. To do that:
- Locate the [eggplant ai] section in the config.ini file, which is stored in the following directory: C:\Eggplant_RI.
- In the config.ini file, make the following changes:
- url: Enter the URL on which the Eggplant DAI server is running.
- username: Enter the username to access Eggplant DAI.
- password: Enter the password to access Eggplant DAI.
- Save your changes and close the file.
Failure to update the config.ini file based on the above steps will prevent the predictors from collecting data and funnel them into Eggplant DAI > Insights > Bug Content / Dev Quality pages.
Configuring Third-Party System Files
You must configure the relevant settings in the sample_config.ini file to connect to the third-party systems listed below. This file is located in the RI_Predictors > Project_config folder. The Eggplant DAI RI Predictors support the following third-party systems:
- Bug Content predictor: Git source control system
- Dev Quality predictor:
- Build System: Jenkins
- Requirement Systems:
Configuring the Project File
Before configuring, rename the sample_project.ini file to match the model name in Eggplant DAI. This allows Eggplant DAI to display relevant data from the associated model on the Insights tab.
The sample_project.ini file is divided into the following sections that you might want to set up based on your requirements:
Note: The configuration files bundled with the Eggplant RI Predictors installer include a sample layout for each of these settings.
- Project name: The name of the model that you want to gather insights for. This field should match the name of your project_file. This is a mandatory field.
- Short project name: Abbreviated name of your project, if applicable.
- Release version: The current release version of the project.
- Team size: The number of people working on the project overall.
- Start date: The project start date.
- Projected/Target end date: The planned release date.
- url: The URL on which the Eggplant DAI server is running.
- username: The username to access Eggplant DAI.
- password: The password to access Eggplant DAI.
- models: The model names followed by its user group. For example, ABC, email@example.com.
- url: The URL of the Git repository that you used to clone data, e.g., firstname.lastname@example.org:Docs/MainDocs.git.
- username: The user name to access your Git server.
- password: The password to access your Git server.
- issue_regex: (optional key) For linking an issue to a Git check-in (e.g., issue_regex = 'EPIC-(\d+)')).
- url: The URL of the Jenkins project that you wish to use.
- username:The username to access your Jenkins account.
- password: The password to access your Jenkins account.
- job_names: The job name of your Jenkins project.
- url: The URL of the Jira project that you wish to use.
- username: Tthe username to access your Jira account.
- password: The password to access your Jira account.
- search_issues: The Jira search query for defining project, e.g., search_issues = ‘proj=PROJECT_NAME’.
- url: The URL of the Jira project that you wish to use.
- access_key: The access key for Redmine.
project_name: The project name for which you want to gather insights.
- redmine filters: The redmine search query , e.g., query_id = 123.
Enter the following information to associate the settings of your model in Eggplant DAI.
Define file types that should be included and/or excluded for each of the predictors, e.g., by default, .git, .hg folders are excluded from the line count calculation. By default, the following file types are included:
Enter the following information to associate your Eggplant DAI project:
To retrieve insights from your Git project, enter the following values:
Note: After you run the startup files, a local copy of the Git repository will be created in the Release Insights folder.
To use Jenkins, configure the following settings:
To use a JIRA project for requirement & bug tracking, configure the following settings:
To use a Redmine project for bug/project tracking,the following configuration is needed:
Viewing Data in Eggplant DAI
After setting up the configuration files, you must run the startup files in order to view initial data on both Bug Content and Dev Quality Predictor tabs.
- Locate the startup-ri-engine.bat file from the eggplantRIengine folder and run it. A terminal window opens.
- Run the startup-ri-connectors.bat file located in the eggplantRIconnectors folder. A terminal window opens.
- Navigate to the browser where Eggplant DAI is open and select the model that you associated in the configuration files.
- Click the Insights > Bug Predictor or Dev Quality tab. The insights for the associated model appear in both tabs.
For more information on these predictors, see Advanced Reporting with Insights.
Note that you may want to run the startup files each time you make changes to your configuration files.