예제 #1
0
def send_result(results):
    """Results sender"""
    if ENV != 'dev':
        patch_execution(json={"results": results, "status": "FINISHED"})
    else:
        logging.info('Finished -> Results:')
        logging.info(results)
예제 #2
0
def change_status_ticket(status):
    """Ticket status changer"""
    if ENV != 'dev':
        patch_execution(json={"status": status})
    else:
        logging.info('Channing to RUNNING')
예제 #3
0
 def send_progress(progress):
     """Send Progress"""
     patch_execution(json={"progress": progress})
     pass