azure-devopsazure-pipelines-release-pipelinetest-results

JUnit test reporting out of Azure DevOps Server - Branch Info not passed to Analytics


We're running Ranorex-Tests in our Release Pipeline and reporting the test results at the end via the Publish test results task. Issue is that our Ranorex Pipeline is pretty much handcrafted and I can't seem to find how I can pass the branch name when reporting test results using Publish test results. All tests show only "no associated branch". Anyone got an idea how I can manually enter the branch name when I'm publishing the test results?

Screenshot "no associated branch" branch message


Solution

  • The Publish test results task doesn't have the input to pass branch info. Instead I think your release pipeline should add artifact source to resolve that message:

    This is my page:

    enter image description here

    The branch info is always passed via the artifact source option. No matter what the source is, pipeline run or Git Repo, they always have corresponding branch info. (What you met is just a message, it doesn't really affect your test/release)