def check_ci_status(sha)
      out = nil
      retry_opts = {
        max_elapsed_time: @ci_status_timeout,
        base_interval: 10
      }
      ilog.start_threaded("Check CI status for #{sha}.") do |step|
        out = sh_retry("hub ci-status --verbose #{sha}", opts: retry_opts)
        step.success
      end
      out
    end
def check_ci_status(sha)
      out = nil
      retry_opts = {
        max_elapsed_time: @ci_status_timeout,
        base_interval: 10
      }
      ilog.start_threaded("Check CI status for #{sha}.") do |step|
        out = sh_retry("hub ci-status --verbose #{sha}", opts: retry_opts)
        step.success
      end
      out
    end
Checks for the commit's CI job status. If its not finished yet,
 wait till timeout.

 @param sha [String] Commit sha.

 @return [String] Status and links to the CI jobs