diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2015-01-09 10:21:31 +0100 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2015-01-09 10:24:42 +0100 |
commit | 0ad0db8b410604d20ed0e2a3d2de3023408a8f4e (patch) | |
tree | f4c82078d48d7bdf740ec0f26b652cbdc8c88e8d | |
parent | 9ebca861732ddb442b0262a0f3bc4a47ac44070c (diff) | |
download | gitlab-ci-0ad0db8b410604d20ed0e2a3d2de3023408a8f4e.tar.gz |
Make the schedule_build cron job quiet
As an administrator, it is not interesting for me to get emails from
GitLab CI that look like:
```
.
.
.
.
```
-rw-r--r-- | CHANGELOG | 1 | ||||
-rw-r--r-- | lib/scheduler.rb | 1 |
2 files changed, 1 insertions, 1 deletions
@@ -2,6 +2,7 @@ v5.4 - Fixed 500 error for badge if build is pending - Non-admin users can now register specific runners for their projects - Project specific runners page which users can access + - Remove progress output from schedule_builds cron job v5.3 - Remove annoying 'Done' message from schedule_builds cron job diff --git a/lib/scheduler.rb b/lib/scheduler.rb index 6c17f3f..217a0a5 100644 --- a/lib/scheduler.rb +++ b/lib/scheduler.rb @@ -8,7 +8,6 @@ class Scheduler interval = project.polling_interval if (last_commit.last_build.created_at + interval.hours) < Time.now last_commit.retry - puts "." end end end |