2
votes

My git repository is Azure Dev-Ops and use Jenkins for continuous integration build and I use tfs Plugin for Jenkins.
My code has 6 branches:

master, test1, test2, test3, test4, test5

When i want pull request test1 to master(for example pull request number is 100) and test5 to test4(for example pull request number is 101) Jenkins only build pull request for number 100 don't build pull request number 101.

after several time when i want build for pull request test3 to test2(for example pull request number is 102) Jenkins again build for pull request number 100.

I don't know What's problem.

1

1 Answers

0
votes

I Understood in Service hooks Azure Dev-ops for Jenkins service we have 2 trigger that are

  1. Trigger generic build
  2. Trigger Git Build

unfortunately in official document for tfs https://github.com/jenkinsci/tfs-plugin don't say that Trigger generic build use for when we have only a branch and Trigger Git Build use for when we have multi branch on pipeline Jenkins. So I change my trigger from Trigger generic build to Trigger Git Build