Академический Документы
Профессиональный Документы
Культура Документы
Attachments:22
Added by Zephyr Developer, last edited by Zephyr Developer on Jan 11, 2016 (view change)
Jenkins
Home
Mailing lists
Source code
Bugtracker Creates test cases and publishes test results in Zephyr For JIRA for JUnit test cases
Security
Advisories
Events
Plugin Information
Donation
Plugin ID zephyr-for-jira-test-management Changes In Latest Release
Commercial
Support Since Latest Release
Wiki Site Map
Documents Latest Release 1.3 (archives) Source Code GitHub
Meet Jenkins Latest Release Date Oct 15, 2015 Issue Tracking Open Issues
Use Jenkins Required Core 1.605 Pull Requests Pull Requests
Extend Jenkins Dependencies junit (version:1.5) Maintainer(s) Zephyr Developer (id: developer)
Plugins
Servlet
Container Notes Usage Installations 2015-Aug 25
2015-Sep 50
2015-Oct 74
2015-Nov 101
2015-Dec 98
2016-Jan 118
2016-Feb 121
2016-Mar 132
Requirements
1. Zephyr for JIRA Server [Version 2.5.2 (Build 25201808) or higher] installed and enabled on JIRA server.
2. ZAPI [Version 1.5 or higher] installed and enabled on JIRA server.
3. Jenkins installation
Enter JIRA Server URL and user credentials. Note that the User Name and Password must be that of a user
with appropriate permissions to project(s). Click on "Test Configuration" to validate connection to JIRA
Server.
1. Create a new Jenkins job by clicking the "New Item" link found on the menu.
2. Give a name for your job, check the box "Freestyle project" and click on "OK" button.
3. To configure the job you just created, click the <job name> on the Jenkins home page.
6. Enter the subversion URL where the target project resides and press Tab.
Note: User credentials needs to be setup to access SVN server. Click on "enter credential" link to set it up if you see
below error.
7. To add a build step, locate the "Build' section and select "Invoke top-level maven targets" from the "Add build
step" dropdown.
8. Select "clean package" as your Goals.
9. The plugin requires JUnit test result. Locate the "Post-build Actions" section and select "Publish JUnit test
result report" from "Add post-build Actions" dropdown.
10. Enter the path to the test report. In the example below the location is "Proj1\target\surefire-reports/*.xml" where
Proj1 is the target project.
1. Select "Publish test result to Zephyr for JIRA" from "Add post-build Actions" dropdown.
2. Configure Zephyr plugin job.
1.
a.
i. Select the JIRA URL from the dropdown. (Servers configured in the Jenkins global
configuration are available here to select). This automatically pulls in projects, versions
and cycles.
ii. Select the Project Name from the dropdown. This re-populates the versions.
iii. Select the Version from the dropdown. Selecting a version fetches all its cycles.
iv. Select either an existing Cycle from the dropdown or create a new cycle.
v. For existing Cycle the default Cycle Duration will be that of existing cycle in Zephyr and
Cycle Name Prefix will be of the format "Automation_<Date><Time>" stamp.
vi. For new cycle you have option to select Cycle Duration from the dropdown and to edit
default cycle prefix name "Automation". In the absence of a cycle prefix name
"Automation" is used for new cycles.
vii. Click "Save".
Finally, Jenkins assigns these test cases to the selected cycle and executes all the tests.
License
This plugin is open source. It follows the Apache License version 2.0 (<http://www.apache.org/licenses/>) It means:
It allows you to:
freely download and use this software, in whole or in part, for personal, company internal, or commercial
purposes;
Use this software in packages or distributions that you create.
include a copy of the license in any redistribution you may make that includes this software;
provide clear attribution to us, www.getzephyr.com for any distributions that include this software
include the source of this software itself, or of any modifications you may have made to it, in any
redistribution you may assemble that includes it;
Submit changes that you make to the software back to this software (though such feedback is encouraged).
Feedback