code: def find_git_hash_branch(each_line, temp_func_list):
      """
      Find the git hash and branch info that  a Jenkins job was taken from.  It will save this
      information in g_failed_test_info_dict.  In addition, it will delete this particular
      function handle off the temp_func_list as we do not need to perform this action again.
  
      Parameters
      ----------
  
      each_line :  str
          contains a line read in from jenkins console
      temp_func_list :  list of Python function handles
          contains a list of functions that we want to invoke to extract information from
          the Jenkins console text.
  
      :return: bool to determine if text mining should continue on the jenkins console text
      """
      global g_git_hash_branch
      global g_failed_test_info_dict
  
      if g_git_hash_branch in each_line:
          [start, found, endstr] = each_line.partition(
              g_git_hash_branch
          )
          temp_strings = endstr.strip().split()
  
          if len(temp_strings) > 1:
              g_failed_test_info_dict["4.git_hash"] = temp_strings[0]
              g_failed_test_info_dict["5.git_branch"] = temp_strings[1]
  
          temp_func_list.remove(find_git_hash_branch)
  
      return True
  
imports: import sys
  import os
  import json
  import pickle
  import copy
  import subprocess
label_desc: Use image node_id 5 for calling a global function with example usage: find_git_hash_branch(each_line, temp_func_list) and returns: True