[Why] The tbox generated by this method is different from the tbox generated by the lkp submit method.
testbox: dc-8g.wuzhende-3455481 this method get: dc-8g.wuzhende lkp mothed get: dc-8g
Signed-off-by: Wu Zhende wuzhende666@163.com --- src/lib/job.cr | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/src/lib/job.cr b/src/lib/job.cr index b6bb730..200ba2b 100644 --- a/src/lib/job.cr +++ b/src/lib/job.cr @@ -26,11 +26,7 @@ end
module JobHelper def self.match_tbox_group(testbox : String) - tbox_group = testbox - if testbox =~ /(.*)-\d+$/ - tbox_group = $1 - end - return tbox_group + testbox.split(/.|--/)[0] end
def self.service_path(path)