I generally use a single job to process merge requests for a branch, and I use the default configuration of the job which prevents multiple copies of that job from executing in parallel. That combination means that merge requests are considered one at a time.
I'm not sure how to offer you a reference for that. You can refer to the wiki page that describes the git plugin and to Kohsuke's "git polling must die" blog posting and to google search results on Jenkins job configuration techniques. I suspect there are also references to the technique in the "Jenkins Continuous Integration Cookbook" by Alan Mark Berg. Mark Waite On Wed, Feb 4, 2015 at 8:26 AM, Sharma, Ashish <[email protected]> wrote: > Hi, > > I am a newbie to Jenkins and I have following questions: > > 1. If I have two Jenkins jobs and they are launched simultaneously for > building , do they execute in parallel or in a sequence one after the other > ? > > 2. Since my source code is managed on github, I am also using the GitHub > pull request builder plugin ( > https://wiki.jenkins-ci.org/display/JENKINS/GitHub+pull+request+builder+plugin) > to manage code merges from multiple developers in a master git branch from > their feature branches, > Here my question is , if multiple merge requests are launched for single > Jenkins pull request builder job, will they execute in parallel or in a > sequence? > > I haven't got any documentation from Jenkins on the above questions and > any reference in support of your answer would be helpful. > > Thanks in advance > Ashish > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/F1BCA7C8C9F483439DBB1D96C2FA9FEA1FBA198A%40G4W3203.americas.hpqcorp.net > . > For more options, visit https://groups.google.com/d/optout. > -- Thanks! Mark Waite -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtHcJ4m2xyh42QhrSR4ssCKhU2a%2BpD6VzascMn1_uVAisw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
