jenkinsazure-devopsjenkins-pipelinejenkins-pluginsjenkins-git-plugin

Choose Jenkinsfile of target branch or source branch while doing Pull Request


My git repository is Azure DevOps and uses Jenkins for continuous integration build and I use TFS Plugin for Jenkins.

For example I have 50 branches, most of them have a different Jenkins file. While I request pull on Azure DevOps, I want to be able to choose the Jenkins file of source branch or target branch.

How can I do that?


Solution

  • Thank You for your Responses but I Understood IT's related to Developer role that should update his Jenkins file on his branch Of course I Understood something is related to kind of Trigger https://stackoverflow.com/questions/64641090/build-multi-azure-devops-pull-request-in-jenkins