提交 51195945 编写于 作者: P Ping Xiao

update push message

上级 1e9bca79
......@@ -342,12 +342,13 @@ def main():
print('======== crash_gen run sucess and exit as expected ========')
try:
cmd = crash_cmds.split('&')[2]
text = f'''exit status: {msg_dict[status]}
git commit : {git_commit}
hostname: {hostname}
start time: {starttime}
end time: {endtime}
cmd: {crash_cmds}'''
git commit : {git_commit}
hostname: {hostname}
start time: {starttime}
end time: {endtime}
cmd: {cmd}'''
send_msg(get_msg(text))
except Exception as e:
print("exception:", e)
......
......@@ -377,12 +377,13 @@ def main():
print('======== crash_gen run sucess and exit as expected ========')
try:
cmd = crash_cmds.split('&')[2]
text = f'''exit status: {msg_dict[status]}
git commit : {git_commit}
hostname: {hostname}
start time: {starttime}
end time: {endtime}
cmd: {crash_cmds}'''
git commit : {git_commit}
hostname: {hostname}
start time: {starttime}
end time: {endtime}
cmd: {cmd}'''
send_msg(get_msg(text))
except Exception as e:
print("exception:", e)
......
......@@ -377,12 +377,13 @@ def main():
print('======== crash_gen run sucess and exit as expected ========')
try:
cmd = crash_cmds.split('&')[2]
text = f'''exit status: {msg_dict[status]}
git commit : {git_commit}
hostname: {hostname}
start time: {starttime}
end time: {endtime}
cmd: {crash_cmds}'''
git commit : {git_commit}
hostname: {hostname}
start time: {starttime}
end time: {endtime}
cmd: {cmd}'''
send_msg(get_msg(text))
except Exception as e:
print("exception:", e)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册