[Buildbot-devel] Any way to specify revision with a Trigger step

Matisse Enzer menzer at apple.com
Thu Mar 24 15:04:40 UTC 2011


Ahh, thanks Amber, that is an interesting solution we had not thought of.

-M

On Mar 22, 2011, at 7:25 PM, Amber Yust wrote:

> You can use a separate source step triggered by a property+doStepIf that has alwaysUseLatest=True set.
> 
> Your Triggerable scheduler can set the property that swaps which source step is active.
> 
> ~Amber
> 
> On Tue, Mar 22, 2011 at 6:45 PM, Matthew Morse <matt at apple.com> wrote:
> Hi,
> 
> I just subscribed to this list and have a question that I didn't see answered in the archive.
> 
> The problem is this:
> 
> - We have multiple projects (A, B, and C), each in its own git repository (Repo_A, Repo_B, Repo_C)
> 
> - The projects are related. Specifically, the projects in B and C depend on the project in A
> 
> - We want a commit in Repo_A to trigger builds of A, B, and C.
> 
> We have a GitPoller on Repo_A to trigger builds when there's a commit there. Thereafter, we want to build B and C.
> 
> The tricky part is that we want a commit to A (say, with SHA-1 hash a2a1eb33d49...) to trigger builds of B and C at their HEAD versions. (Since the repos are separate, the a2a1eb33d49... isn't relevant in Repo_B and Repo_C.)
> 
> I don't see a way to specify something like the HEAD revision when configuring a Trigger.  Is that possible?  Alternatively, could it be done in a Triggerable scheduler?  Other ideas?
> 
> Thanks,
> - Matt
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> Enable your software for Intel(R) Active Management Technology to meet the
> growing manageability and security demands of your customers. Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your software
> be a part of the solution? Download the Intel(R) Manageability Checker
> today! http://p.sf.net/sfu/intel-dev2devmar
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
> 
> ------------------------------------------------------------------------------
> Enable your software for Intel(R) Active Management Technology to meet the
> growing manageability and security demands of your customers. Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your software 
> be a part of the solution? Download the Intel(R) Manageability Checker 
> today! http://p.sf.net/sfu/intel-dev2devmar_______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20110324/3365f52b/attachment.html>


More information about the devel mailing list