[Buildbot-devel] How to send project and branch to nightly build

Narendra Kumar SS ssnkumar at gmail.com
Wed Oct 8 11:42:08 UTC 2014


Hi,

    We are using buildbot setup for our project.
    We are using GerritChangeSource to monitor the changes to source code 
and the buildbot is able to run the build on each change.

    Now, I am trying to configure nightly build.
    Using timed.nightly I am able to get the nightly triggered at the 
right time.

    But, the problem is, if there is no change to the source, the nightly 
is not able to get the branch, project and revision.
    Without these values, the checkout of the code will not happen 
properly.
    We are using change_filter parameter to send the project_re and branch 
names in Scheduler. So, when the buildbot gets triggered due to some 
change to source code, this is able to send change_filter and also the 
patchSet is received by buildbot. So, it uses those values to do a 
checkout.

    Now, in case of nightly, when we don't have any change to source, the 
change_filter is being ignored and also it is not getting patchSet.
    Because of this, we are not able to do a checkout.


    Any suggestions on how to solve this issue?

Thanks and Regards,
Narendra





More information about the devel mailing list