[Buildbot-devel] Conceptual Questions: Change-based BuildStep
Dustin J. Mitchell
dustin at v.igoro.us
Sun May 19 18:14:28 UTC 2013
On Thu, May 16, 2013 at 5:24 PM, Kenny Ho <kenny.ho at jamdeo.com> wrote:
> I am still fairly new to BuildBot and I am still a bit confused about some
> of the concepts. Is it possible to define a BuildStep via BuildFactory with
> information from multiple changes? For example, let say one of the Build
> contain a SourceStamp that points to 2 ChangeS. Is it possible to define a
> BuildStep to cherry pick those 2 ChangeS to current HEAD? or do I need to
> subclass something to archive this?
>
> I noticed there are Properties set but they appear to belong to only one of
> the change? (or may be it's just the web UI showing properties of one
> change and there's actually an array of build properties?)
Changes are really only messages to say "hey, the source code
changed". Your build can get multiple *sourcestamps*, one for each
codebase, but each sourcestamp corresponds to one change.
It sounds like you're interested in a case where each change is a new
head (in hg terms), and when they occur close in time, you want to
cherry-pick all of them together and build the result. Is that about
right?
Dustin
More information about the devel
mailing list