[Buildbot-devel] Triggering a build that use Source.git step and forcing it to use HEAD

Matisse Enzer menzer at apple.com
Thu Oct 21 17:11:51 UTC 2010


Hi folks,

I have 2 git repositories, AAAA and BBBB

I'm using a gitpoller to watch the AAAA repository, and when a commit occurs a buildslave checks it out, builds it, and installs it in the buildslave home directory. So far so good.

I want to add a Trigger BuildStep at the end of the AAAA build and have it trigger a build of BBBB (which depends upon built products of BBBB) but I have not succeeded yet.

The problem is that the revision from the commit to AAAA is meaningless to the second repository (BBBB) - what I want is for the triggered build to always use HEAD.

In the Trigger buildstep I have tried various values for updateSourceStamp and set_properties, for example:

 updateSourceStamp=True,
 set_properties={ 'revision' : 'HEAD' },

and so on, but to no avail.

Any help would be appreciated.

Matisse Enzer
menzer at apple.com







More information about the devel mailing list