[Buildbot] #3367: TimedScheduler ignoring repository and project.

Buildbot trac trac at buildbot.net
Thu Oct 15 17:39:56 UTC 2015


#3367: TimedScheduler ignoring repository and project.
--------------------+------------------------
Reporter:  rrlucca  |       Owner:
    Type:  defect   |      Status:  new
Priority:  major    |   Milestone:  undecided
 Version:  0.8.12   |  Resolution:
Keywords:           |
--------------------+------------------------

Comment (by rrlucca):

 I'm proving a snippet from my master.cfg. This is a incomplete code.
 Every developer has his project name (git<name><lastname>) and git
 repository is associate with a SingleBranchScheduler that will run on
 'torvalds' if something change on 'integration' branch.

 {{{
 from buildbot.schedulers import timed

 cfilter=filter.ChangeFilter(
    project="gitricardolucca",
    branch="integration"
    )
 c['schedulers'].append(
    SingleBranchScheduler(name="rauco-next",
        change_filter=cfilter,
        treeStableTimer=120,
        builderNames=["torvalds"]
        )
    )

 c['schedulers'].append(
    timed.Nightly(
          name="rauco_nightly",
          branch="master",
          builderNames=["torvalds"],
          # day - 0 monday, ..., 6 sunday
          dayOfWeek=6,
          hour=1,
          minute=22,
          onlyIfChanged=True
          )
    )
 }}}

--
Ticket URL: <http://trac.buildbot.net/ticket/3367#comment:4>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the bugs mailing list