Page History
...
Info | ||
---|---|---|
| ||
The user present in the configuration below must exist in the Jira instance and have permission to Create Test and Test Execution Issues. |
In azure-pipelines.ym
l a "bash" based step must be included that will use "curl" in order to submit the results to the REST API.
...
We may now run the Pipeline build...
After results are imported, you can check them in Xray.
Using Azure DevOps to store code and Jenkins to manage the builds
This scenario explores usage of the Repos facility from Azure DevOps to store the code and uses Jenkins as the build tool.
JUnit example
This recipe could also be applied for other frameworks such as NUnit, TestNG or Robot.
...
Similarly to configuring any SCVS (e.g. Git, SVN, CVS), we need to configure Jenkins to checkout the code from Azure DevOps' Repos.
Please check the URL of your repository in Azure DevOps; it should be something similar to:
...
Next, you can configure the remaining build process, including the build steps, in Jenkins as usual; thus, you can see the results back in Jira and Xray
References
- https://docs.microsoft.com/en-us/azure/devops/index?view=azure-devops&viewFallbackFrom=vsts
- https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=azure-devops&tabs=schema
- https://docs.microsoft.com/en-us/azure/devops/pipelines/process/variables?view=azure-devops&tabs=yaml%2Cbatch
- https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/test/publish-test-results?view=azure-devops&tabs=yaml
- https://docs.microsoft.com/en-us/azure/devops/pipelines/release/integrate-jenkins-pipelines-cicd?view=azure-devops&tabs=yaml
- https://docs.microsoft.com/en-us/azure/devops/service-hooks/services/jenkins?view=azure-devops
- https://docs.microsoft.com/pt-pt/azure/devops/pipelines/languages/dotnet-core?view=azure-devops#run-your-tests
- https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/test/vstest?view=azure-devops