
On Wed, Mar 17, 2021 at 04:46:53PM +0800, Lu Weitao wrote:
On Wed, Mar 17, 2021 at 11:13:40AM +0800, Li Yuanchao wrote:
Query jobs by conditions such as group id or suite, and count the number of passed cases and failed cases.
Signed-off-by: Li Yuanchao <lyc163mail@163.com> --- src/lib/web_backend.rb | 66 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+)
diff --git a/src/lib/web_backend.rb b/src/lib/web_backend.rb index 89c0f3c..ea45d59 100644 --- a/src/lib/web_backend.rb +++ b/src/lib/web_backend.rb @@ -548,3 +548,69 @@ def new_refs_statistics(params) end [200, headers.merge('Access-Control-Allow-Origin' => '*'), body] end
compass-ci/src/lib/web_backend.rb has too many code, how about add some conments to segmented just like compass-ci/lib/compare.rb
600 lines for a file maybe not big ~
and it's hardly to konw what's the return
ok, I'll add return information to change log. Thanks, Yuanchao