Sync up latest code 34/163534/1
authorhyokeun <hyokeun.jeon@samsung.com>
Tue, 12 Dec 2017 02:34:05 +0000 (11:34 +0900)
committerhyokeun <hyokeun.jeon@samsung.com>
Tue, 12 Dec 2017 02:34:05 +0000 (11:34 +0900)
Change-Id: I851b16db69f59e6332240d2702e12eae0c39c5a9

job_litmus_jira_issue_receiver.py

index 7eadf84..5ef903e 100755 (executable)
@@ -86,15 +86,16 @@ if __name__ == "__main__":
 
 
 
-
-
     # load received data
     if CONFIG['BASE']['location'] != 'internal':
 
-        trbs_data = os.getenv('TRBS_DATA').replace(' ', '+')
+        trbs_data = os.getenv('file0')
 
         if trbs_data:
-            RAW = unicode_to_str(json.loads(base64.b64decode(trbs_data)))
+            f = open( 'file0', 'r')
+            RAW = unicode_to_str(json.loads(f.read()))
+            f.close()
+
         else:
             sys.exit( "[Error] TRBS_DATA is empty!\n" )
 
@@ -157,3 +158,4 @@ if __name__ == "__main__":
 
 
     exit()
+