Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warn about ignored buildHorizon and logHorizion. #2292

Merged
merged 1 commit into from
Jun 26, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions master/buildbot/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -823,6 +823,9 @@ def check_status(self):
s.checkConfig(self.status)

def check_horizons(self):
if self.logHorizon is not None or self.buildHorizon is not None:
log.msg("NOTE: `buildHorizon` and `logHorizon` are currently ignored "
"(see http://trac.buildbot.net/ticket/3572)")
if self.logHorizon is not None and self.buildHorizon is not None:
if self.logHorizon > self.buildHorizon:
error("logHorizon must be less than or equal to buildHorizon")
Expand Down