...
...
Info |
---|
AIO APIs and Jenkins plugin can be used to publish results from any framework capable of generating JUnit files like Robot/Cypress/NUnit amongst many others. |
Installing the plugin
AIO Tests Jenkins plugin can be installed from the Jenkins marketplace as below.
...
Go to project -> Configure
Click on the Post Build Actions -> Select Publish Results to AIO Tests
The following options need to be configured for publishing results to AIO Tests
Cloud Authentication - Use the API Token generated from Access Token
Server/DataCenter Authentication - Use Jira server/DC username and password with basic authentication
Choose if the results should be published synchronously or in batches.
...
Specify the Project for which run results need to be published eg. SCRUM
Choose a framework and specify the path of the file - relative to the workspace eg.
/target/surefire-reports/testng-results.xml
Info |
---|
For frameworks other than JUnit/TestNG/NUnit/Cucumber, if results file is being generated in JUnit format, please select JUnit |
...
The below table defines the rest of the field options:
Field | Details | |
---|---|---|
1 | Cycle Preference | Select between existing and new cycle |
2 | Cycle Prefix | In case of new cycle, Cycle prefix will be used to prefix the cycle title |
3 | Cycle Key | If existing cycle is selected, specify AIO Tests cycle key eg. SCRUM-CY-121 |
4 | Add Case | If checked, cases not already in cycle are added, else the cases are reported as errors |
5 | Create New Run | If checked, new run is created for each case execution, else existing run is overwritten |
6 | Create Case | If checked and no case exists with a matching case key or automation key, a new case is created |
7 | Update BDD Case Steps [Cucumber Only] | If checked, if the automated case steps are different from the steps in AIO Tests, then the automated steps will update the steps in the AIO Tests cases |
8 | Force Update Case | If checked, updates case steps from steps in automaton results files. (Works for robot only) |
9 | Hide Publish Result Details | If checked, it would hide testcase wise details |
10 | Fail build if result publishing fails | If checked, the build result will be updated to failed, in case publishing of results to AIO Tests fails |
Reporting results in the pipeline
...