20_UCOP Jira Jenkins Integration(Functional Document)
Introduction
UCOP QA team use Automation testing tool called as TestComplete for doing the automation testing. All of the automation test cases are run using the TestComplete automation tool. QA team use Jenkins to run the automation test cases and to generate the test results and the custom test case reports. Ucop also use Jira to capture all the tests (manual+ others) using the Jira Xray plugin.
Problem Statement
Ucop need a way to trigger the Jenkins jobs from Jira and send reports back to Jira after the completion of the Jenkins Job along with test statuses.
Requirements
User should be able to map issue of type 'Test' in Jira to a Jenkins job
User should be able to map multiple issues of type ‘Test'(both connected to Jenkins as well as manual and others) under one issue of type 'Test Execution’
User should be able to attach test data as attachments to the test execution for any or all of the tests under that test execution
User should be able to trigger Jenkins jobs from 'Test Execution' on click of a button
After triggering the jobs at ‘Test Execution' level, all the Jenkins jobs connected to Tests under the current test execution should get initiated in Jenkins
After the completion of the jobs in Jenkins, the 'Test Execution' should get updated with the statuses of test run
After the completion of the jobs in Jenkins, the custom reports generated in Jenkins should get attached for each test case to the 'Test Execution'
Process(Flow)
Mockups of the screen main screen
Job mapping screen
Job selection screen