How to Integrate with Jenkins Freestyle
How to Integrate with Jenkins Freestyle Projects
To set up Jenkins integration, you will need to have qTest Project admin access to activate CI integration and map your Jenkins test result status’ to qTest Status Also, you will need have installed the Junit and qTest plugins on your Jenkins system. For more resources, you can also visit support.qasymphony.com for all CI integrations guides.
Select automation settings for your project, and turn activation status to on. Then proceed to map your Jenkins test run result status with your status’ in your qTest project. Then activate CI integration to choose how the test results will display in qTest.
In jenkins, install the qTest plugin which uses the Junit xml style reporting. In your jenkins project configure the qtest plugin with your qTest domain, and Jenkins API token. This can be found in the resource section of qTest Manager project. This token always pulls back any qTest projects that have activated their CI integration.
Click retrieve data to pull back your integrated projects along, and then chose to map a release and environment for test run results. After each build, the qTest plugin will provide a the test suite link so you can easily view results in Test Execution. qTest Manager will display all test run logs according to the build that was run and all step status’ with the test run. If the steps failed, qTest Manager neatly packages the error files to investigate the issue.