projects
/
services
/
jenkins-scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea9452f
)
Sync up latest code
34/163534/1
author
hyokeun
<hyokeun.jeon@samsung.com>
Tue, 12 Dec 2017 02:34:05 +0000
(11:34 +0900)
committer
hyokeun
<hyokeun.jeon@samsung.com>
Tue, 12 Dec 2017 02:34:05 +0000
(11:34 +0900)
Change-Id: I851b16db69f59e6332240d2702e12eae0c39c5a9
job_litmus_jira_issue_receiver.py
patch
|
blob
|
history
diff --git
a/job_litmus_jira_issue_receiver.py
b/job_litmus_jira_issue_receiver.py
index
7eadf84
..
5ef903e
100755
(executable)
--- a/
job_litmus_jira_issue_receiver.py
+++ b/
job_litmus_jira_issue_receiver.py
@@
-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()
+