No, I haven't. I found the same topic about Set custom build number <http://jenkins-ci.361315.n4.nabble.com/Set-custom-build-number-td379762.html> and it seems like this is by design. I will add an issue on bug tracker.
Thanks! On Thursday, February 12, 2015 at 1:03:38 PM UTC+7, Sam Gleske wrote: > > Have you filed an issue in the Jenkins issue tracker? This seems like a > legitimate thing to want job numbers synchronized. > > On Wednesday, February 11, 2015 at 10:50:47 PM UTC-5, Code wrote: >> >> I have gearman, multiple jenkins masters, and several slaves. The >> infrastructure is like below: >> >> Gearman >> __________________|____________________ >> | >> | >> Jenkins Master 1 >> Jenkins Master 2 Jenkins Master 3 >> (Public jenkins) >> ___________|____________ >> __________|__________ >> | | | >> | | | >> Slave 1 Slave 2 Slave 3 Slave 4 >> Slave 5 Slave 6 >> >> I queue a job by sending a request to Gearman, then it decides which >> jenkins master should handle the job. After a job is built, jenkins will >> publish it to Jenkins Master 3 using Build Publisher Plugin. >> >> The tricky bit is, let's say I have a job name "job_test_1" on Jenkins >> Master 1 and Jenkins Master 2. The first time I queue a job on Gearman, it >> decides to forward the job to Jenkins Master 1. When it is built, the job >> has build number 1. After then, I queue a job again on Gearman but this >> time it decides to forward the job to Jenkins Master 2. When it is built, >> it got build number 1 since it's the first build on this Jenkins Master. >> When it publishes build to Jenkins Master 3, the result will overwrite >> build number 1 on Jenkins Master 1 because it has the same build number. >> >> I read on a Jenkins forum and it seemed like this is by design. Is there >> a way to work around this problem? >> > -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" 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-dev/c87cadfb-1473-4c0d-a6db-0fabb416543a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
