Currently, we have Jenkins set up to trigger on a Gerrit patchset upload or merge to do a build, which works fine. We also use a build version plugin to version the build with a custom build number sequence (w.x.y.buildnumber). However, we now have been asked to implement having a single Jenkins build job being able to build from multiple branch triggers from Gerrit. The logic to trigger off of different branches works fine, but I'm struggling with how to have multiple different build number sequences for different branches, as the w.x.y numbers could be different across branches, and we'd want the buildnumber value to be consecutive across a branch and not across the wider-ranged build job number that we're currently utilizing.
Have others been successful in having custom build number sequences in a single Jenkins job which are variable based on different branches from Gerrit? Thanks in advance! Scott -- 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. For more options, visit https://groups.google.com/groups/opt_out.