summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2015-01-09 10:21:31 +0100
committerJacob Vosmaer <contact@jacobvosmaer.nl>2015-01-09 10:24:42 +0100
commit0ad0db8b410604d20ed0e2a3d2de3023408a8f4e (patch)
treef4c82078d48d7bdf740ec0f26b652cbdc8c88e8d
parent9ebca861732ddb442b0262a0f3bc4a47ac44070c (diff)
downloadgitlab-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--CHANGELOG1
-rw-r--r--lib/scheduler.rb1
2 files changed, 1 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 1050f79..ceecc06 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -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