[Buildbot] #3275: nextSlave should be able to choose slave according to "build request"
Buildbot trac
trac at buildbot.net
Wed Jun 10 09:46:04 UTC 2015
#3275: nextSlave should be able to choose slave according to "build request"
------------------------+------------------------
Reporter: nam4dev | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: undecided
Version: master | Resolution:
Keywords: |
------------------------+------------------------
Changes (by nam4dev):
* cc: namgyalx.brisson@… (added)
* type: undecided => enhancement
Comment:
For now, I use "canStartBuild" method, which is call for each slave.
What I need is to be able to select slaves according "Build Request"
instance in the "nextSlave" method to filter at once all candidates.
It seems to me the best and cleanest solution than using "canStartBuild",
as for a large amount of slaves it may impact performances.
I committed on my branch, a proposal, maybe not the best way to implement
it.
Commit:
https://github.com/nam4dev/buildbot/commit/6d804c9f43711bcdc25b129686ed146b93c6473c
I remain open to your suggestions...
Sincerely,
Nam4dev.
--
Ticket URL: <http://trac.buildbot.net/ticket/3275#comment:1>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the bugs
mailing list