GreenMan
GreenMan

Reputation: 307

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?

Upvotes: 0

Views: 1652

Answers (2)

GreenMan
GreenMan

Reputation: 307

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

Upvotes: 0

Leo Liu
Leo Liu

Reputation: 76760

I want to be able to choose the Jenkins file of source branch or target branch.

You could select the Pull request merge attempted in the type of Trigger event:

enter image description here

Which have an optional Target branch. We could select the target branch for the Azure devops Azure DevOps.

Upvotes: 1

Related Questions