#NEWLINE# def __upload_artifacts( self ) : #NEWLINE# #INDENT# '\n        If token provided, upload artifacts folder contents and jmeter_log\n        else: jmeter_log only\n        :return:\n        ' #NEWLINE# if self . client . token : #NEWLINE# #INDENT# self . log . info ( 'Uploading all artifacts as jtls_and_more.zip ...' ) #NEWLINE# mfile = self . __get_jtls_and_more ( ) #NEWLINE# self . client . upload_file ( 'jtls_and_more.zip' , mfile . getvalue ( ) ) #NEWLINE# #UNINDENT# for executor in self . engine . provisioning . executors : #NEWLINE# #INDENT# if isinstance ( mfile , JMeterExecutor ) : #NEWLINE# #INDENT# if executor . jmeter_log : #NEWLINE# #INDENT# self . log . info ( 'Uploading %s' , executor . jmeter_log ) #NEWLINE# self . client . upload_file ( executor . jmeter_log )