[Why] before convert job_list => matrix we remove job from job_list unless: job['stats'].any? { |metric| metric.start_with?(job['suite'])} but some job(such as build-pkg) have no metric start_with suite(build-pkg.xxx) so this logic is unreasonable, we should keep the job in job_list
Signed-off-by: Lu Weitao luweitaobe@163.com --- lib/params_group.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/params_group.rb b/lib/params_group.rb index 2082c5d..37cf03a 100644 --- a/lib/params_group.rb +++ b/lib/params_group.rb @@ -50,7 +50,7 @@ def job_is_useful?(job) return unless stats
suite = job['_source']['suite'] - return unless suite && stats.keys.any? { |stat| stat.start_with?(suite) } + return unless suite
true end