[users at bb.net] How to monitor and download multiple source for buildbot master.cfg

kipade kipade at 163.com
Sun Aug 6 03:41:10 UTC 2017


Thanks for your reply.

And I have a nother issue,  I want to use doStepIf for a step, but puzzled
doStepIf is a bool property of a step, now I want to control it by 
following conditions:
1) it's dependent repo source changed
2) it's corresponding scheduler is "Force"
What should I passed to doStepIf parameter?
If I passed it a function like checkIfBuild:
1) how should I define such a function?
2) what parameters should I pass to this function

btw, Im newbie for python, and started buildbot the day before yesterday;-)
thanks all

在 2017/8/6 上午10:07, Alvaro Erickson 写道:
> Hi kipade,
>
> Yes, you use codebases (i.e., a codebase generator) for multiple 
> codebases. Now, if you want to look for a specific branch during your 
> checkout step, you need to set the "branch" property for the git 
> poller you are using. If you are using one.
>
> Regards,
>
> Alvaro
>
> On Sat, Aug 5, 2017 at 3:17 AM, kipade <kipade at 163.com 
> <mailto:kipade at 163.com>> wrote:
>
>     Thanks Alvaro, I can download multiple git repos from the server use
>     codebases now. but I found the branch property take no sense for
>     codebases, right?
>     I have to set branch parameter for source steps.
>
>     Regards,
>     kipade
>
>
>     On Fri, 04 Aug 2017 15:36:47 +0000
>     Alvaro Erickson <alvaro.erickson at gmail.com
>     <mailto:alvaro.erickson at gmail.com>> wrote:
>
>     > Greetings,
>     >
>     > Do you have more details around your issue? For example, have
>     you created a
>     > change source for each repo (e.g., for GitHub a change hook:
>     >
>     http://docs.buildbot.net/current/manual/cfg-wwwhooks.html#chsrc-GitHub
>     <http://docs.buildbot.net/current/manual/cfg-wwwhooks.html#chsrc-GitHub>)?
>     >
>     > Also, for source checkout for each repo, it is best to have a
>     separate
>     > source checkout step for each one. For example, for Git, using the
>     > following source checkout:
>     >
>     > http://docs.buildbot.net/current/manual/cfg-buildsteps.html#git
>     <http://docs.buildbot.net/current/manual/cfg-buildsteps.html#git>
>     >
>     > Regards,
>     >
>     > Alvaro
>     >
>     >
>     > On Fri, Aug 4, 2017 at 5:06 AM kipade <kipade at 163.com
>     <mailto:kipade at 163.com>> wrote:
>     >
>     > > My build project have sevral code repos. I use factory.addStep
>     to add
>     > > multiple repo downloading.
>     > >
>     > > But, I found only the last one was saved, all previous code
>     repo were gone.
>     > >
>     > > How should I download multiple code repos?
>     > >
>     > > Regards,
>     > >
>     > >
>     > > _______________________________________________
>     > > users mailing list
>     > > users at buildbot.net <mailto:users at buildbot.net>
>     > > https://lists.buildbot.net/mailman/listinfo/users
>     <https://lists.buildbot.net/mailman/listinfo/users>
>     > >
>
>
>     --
>     kipade <kipade at 163.com <mailto:kipade at 163.com>>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20170806/1009103e/attachment.html>


More information about the users mailing list