code: def get_console_out(url_string):
      """
      Grab the console output from Jenkins and save the content into a temp file
       (g_temp_filename).
  
      Parameters
      ----------
      url_string :  str
          contains information on the jenkins job whose console output we are interested in.
  
      :return: none
      """
      global g_temp_filename
  
      full_command = "curl " + url_string + " > " + g_temp_filename
      subprocess.call(full_command, shell=True)
  
imports: import sys
  import os
  import json
  import pickle
  import copy
  import subprocess
label_desc: Use image node_id 12 for calling a global function with example usage: get_console_out(url_string) without return types