This plugin updates Jira issues with basic build information and useful artifacts (titled values, user defined files, screenshoots, stack traces).
This plugin works in tandem with Test Management Adapter which is the Maven dependency providing data gathering possibilities for your test framework. This plugin is responsible for jira-tm-report.xml
parsing, report generating in accordance with Jira Text Formatting Notation and its publishing in corresponding issue comments via REST API.
This plugin works in tandem with Test Management Adapter for .NET which provides data gathering possibilities for your test framework. This plugin is responsible for jira-tm-report.xml
parsing, report generating in accordance with Jira Text Formatting Notation and its publishing in corresponding issue comments via REST API.
At this time, Test Management plugin installation is possible only manually. Unfortunately, the plugin has not yet been placed into the Jenkins Update Center.
- Download
.hpi
archive or build it from source code. - Navigate to the
Manage Jenkins
>Manage Plugins
page in the web UI. - Click on the
Advanced
tab. - Choose the
.hpi
file under theUpload Plugin
section. - Upload the plugin file.
Once a plugin file has been uploaded, the Jenkins master must be manually restarted in order for the changes to take effect.
- Download source code test-management-jenkins-plugin;
- Click right mouse button on pom.xml, "Maven" > "Generate Sources and Update Folders" (for Intellej IDEA) for Messages class auto-generating (it will be placed in work directory);
- Run maven compile;
- "Test-management.hpi" will be placed in target directory.
Assuming a .hpi
file has been explicitly downloaded by a systems administrator, the administrator can manually place the .hpi file in a specific location on the file system.
Copy the downloaded .hpi
file into the JENKINS_HOME/plugins
directory on the Jenkins master (for example, on Debian systems JENKINS_HOME is generally /var/lib/jenkins
).
The master will need to be restarted before the plugin is loaded and made available in the Jenkins environment.
You need to add Jira Test Management Results Updater
as your job post-build action.
You should fill out url, username and password fields with valid data (you can test connection using Test connection button).
If you want to add labels
to your project updated issues or take advantage of clean-up
feature, you
need to set some advanced options. You will need to hit the Advanced button to see them.
After that you can specify label type (prefix + build date or number) or expiration time period for clean-up function.
By default this plugin will search result files automatically. But if you wish to set the exact place to read results use Custom 'target' folder location
option.
The Test result report is placed as Jira comment. Only build and status fields are mandatory, the others are optional.