update push message
This commit is contained in:
parent
1e9bca79a4
commit
5119594584
|
@ -342,12 +342,13 @@ def main():
|
||||||
print('======== crash_gen run sucess and exit as expected ========')
|
print('======== crash_gen run sucess and exit as expected ========')
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
cmd = crash_cmds.split('&')[2]
|
||||||
text = f'''exit status: {msg_dict[status]}
|
text = f'''exit status: {msg_dict[status]}
|
||||||
git commit : {git_commit}
|
git commit : {git_commit}
|
||||||
hostname: {hostname}
|
hostname: {hostname}
|
||||||
start time: {starttime}
|
start time: {starttime}
|
||||||
end time: {endtime}
|
end time: {endtime}
|
||||||
cmd: {crash_cmds}'''
|
cmd: {cmd}'''
|
||||||
send_msg(get_msg(text))
|
send_msg(get_msg(text))
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print("exception:", e)
|
print("exception:", e)
|
||||||
|
|
|
@ -377,12 +377,13 @@ def main():
|
||||||
print('======== crash_gen run sucess and exit as expected ========')
|
print('======== crash_gen run sucess and exit as expected ========')
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
cmd = crash_cmds.split('&')[2]
|
||||||
text = f'''exit status: {msg_dict[status]}
|
text = f'''exit status: {msg_dict[status]}
|
||||||
git commit : {git_commit}
|
git commit : {git_commit}
|
||||||
hostname: {hostname}
|
hostname: {hostname}
|
||||||
start time: {starttime}
|
start time: {starttime}
|
||||||
end time: {endtime}
|
end time: {endtime}
|
||||||
cmd: {crash_cmds}'''
|
cmd: {cmd}'''
|
||||||
send_msg(get_msg(text))
|
send_msg(get_msg(text))
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print("exception:", e)
|
print("exception:", e)
|
||||||
|
|
|
@ -377,12 +377,13 @@ def main():
|
||||||
print('======== crash_gen run sucess and exit as expected ========')
|
print('======== crash_gen run sucess and exit as expected ========')
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
cmd = crash_cmds.split('&')[2]
|
||||||
text = f'''exit status: {msg_dict[status]}
|
text = f'''exit status: {msg_dict[status]}
|
||||||
git commit : {git_commit}
|
git commit : {git_commit}
|
||||||
hostname: {hostname}
|
hostname: {hostname}
|
||||||
start time: {starttime}
|
start time: {starttime}
|
||||||
end time: {endtime}
|
end time: {endtime}
|
||||||
cmd: {crash_cmds}'''
|
cmd: {cmd}'''
|
||||||
send_msg(get_msg(text))
|
send_msg(get_msg(text))
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print("exception:", e)
|
print("exception:", e)
|
||||||
|
|
Loading…
Reference in New Issue