multi-branch support in git-plugin is a poor implementation, and running the job manually will just rebuild the last commit (so only one branch from your 3 ones) not all of them, not even considering build history is irrelevant with branches mixed
If you want actual multi-branch support select a job type which do support scm-api, for sample https://wiki.jenkins-ci.org/display/JENKINS/Multi-Branch+Project+Plugin I'd like we deprecate this is git plugin (which would remove 75% of its most unmaintainable code) but this would have HUGE impact on user base 2015-07-21 9:15 GMT+02:00 <ozcaaa...@gmail.com>: > Hi everyone, > > I have a project on Github which has 3 branches: master, test2, test3 -> > https://github.com/ozcanovunc/jenkins-test/blob/master/test.py. And I'm > running test.py file in batch command by "python test.py" command. > > - test2 branch : code with error in test.py > - test3 branch : code with error in test.py > - master branch : ok code in test.py > > So when I modify test.py in each branch and build the project I get 3 > builds with 1 success and 2 failures which is fine. But afterwards, when I > build the project on Jenkins again (with no modifications on codes), I get > 1 build and that is test3 build with failure. > > So is that a bug or something? Where are the 2 other builds? Master and > test2? > > > (And one more thing. I think it's the pretty much the same problem. When I > modify only test.py in master, then build the project, I get one build with > success. It doesn't build other branches.) > > Regards, > Ozcan > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/9af1cea7-198a-40dc-98e3-71bc372e945d%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/9af1cea7-198a-40dc-98e3-71bc372e945d%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANMVJz%3DegK2ikMdh3HwDV9ibdX86sybvO0ntiQ1e%3DW4NqsGhwA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.