mirror of
https://github.com/opsre/LiteOps.git
synced 2026-03-04 13:00:45 +08:00
前端开源初始化提交
This commit is contained in:
@@ -819,7 +819,7 @@ class BuildExecuteView(View):
|
||||
history_id=generate_id(),
|
||||
task=task,
|
||||
build_number=build_number,
|
||||
branch=branch if branch else '', # 对于预发布和生产环境,分支可能为空
|
||||
branch=branch if branch else '', # 对于预发布和生产环境,分支为空
|
||||
commit_id=commit_id,
|
||||
version=version if version else None, # 对于预发布和生产环境,使用传入的版本号
|
||||
status='pending', # 初始状态为等待中
|
||||
|
||||
@@ -319,7 +319,7 @@ class NotificationTestView(View):
|
||||
|
||||
# 准备测试消息
|
||||
timestamp = str(int(time.time() * 1000))
|
||||
test_message = "这是一条测试消息,如果您收到了这条消息,说明机器人配置正确。"
|
||||
test_message = "这是一条测试消息,如果你收到了这条消息,说明机器人配置正确。"
|
||||
|
||||
# 根据不同类型的机器人发送测试消息
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user