Signed-off-by: Cao Xueliang caoxl78320@163.com --- jobs/bisect.yaml | 2 -- tests/bisect | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/jobs/bisect.yaml b/jobs/bisect.yaml index 8b0001df..5fab30bf 100644 --- a/jobs/bisect.yaml +++ b/jobs/bisect.yaml @@ -2,5 +2,3 @@ suite: bisect docker_image: delimiter:latest testbox: dc-1g--delimiter bisect: - job_id: - error_id: diff --git a/tests/bisect b/tests/bisect index ab280b95..33303296 100755 --- a/tests/bisect +++ b/tests/bisect @@ -1,13 +1,13 @@ #!/usr/bin/env ruby -# - job_id -# - error_id +# bad_job_id +# error_id # SPDX-License-Identifier: MulanPSL-2.0+ # frozen_string_literal: true
require_relative "#{ENV['CCI_SRC']}/lib/git_bisect" require_relative "#{ENV['CCI_SRC']}/lib/mail_bisect_result"
-task = {'job_id' => ENV['job_id'], 'error_id' => ENV['error_id']} +task = {'bad_job_id' => ENV['bad_job_id'], 'error_id' => ENV['error_id']} gb = GitBisect.new(task) result = gb.find_first_bad_commit