code: def get_console_out(url_string):
      """
      Grab the console output from Jenkins and save the content into a temp file
       (g_temp_filename).  From the saved text file, we can grab the names of
       failed tests.
  
      Parameters
      ----------
      url_string :  str
          contains information on the jenkins job whose console output we are interested in.  It is in the context
          of resource_url/job/job_name/build_id/testReport/
  
      :return: none
      """
      full_command = (
          "curl "
          + '"'
          + url_string
          + '"'
          + " --user "
          + '"admin:admin"'
          + " > "
          + g_temp_filename
      )
      subprocess.call(full_command, shell=True)
  
file_path: h2o-3/scripts/scrapeForIntermittents.py
imports: import sys
  import os
  import json
  import subprocess
  import time
  import datetime
  from pytz import timezone
  from dateutil import parser
label_desc: Use image node_id 4 for calling a global function with example usage: get_console_out(url_string) without return types