Problem in getting sourcebranch name from Azure PR dynamically to Jenkins

Parvatha Vardhini Sivaraman 0 Reputation points
2024-12-17T06:12:26.9166667+00:00

I have integrated Jenkins with Azure DevOps. My use case is: when I raise a PR in the Azure Repo, it should trigger a Jenkins script. Then I want to automatically retrieve the source branch name in Jenkins. However, I am unable to get the source branch name. Please help me resolve this issue.

Community Center Not monitored
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sumarigo-MSFT 47,466 Reputation points Microsoft Employee Moderator
    2024-12-17T06:35:47.39+00:00

    @Parvatha Vardhini Sivaraman I'd recommend posting your question Developer Community it would the better medium to get better help since the issue is related devops intergration (Azure DevOps is currently not supported in the Q&A forums, the supported products are listed over here - https://docs.microsoft.com/en-us/answers/products (more to be added later on).)

    The product group for Azure DevOps / TFS actively monitors questions over at

    https://developercommunity.visualstudio.com/report?space=21&entry=problem

    https://developercommunity.visualstudio.com/report?space=22&entry=problem


    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.