feat: 1
This commit is contained in:
16
.drone.yml
16
.drone.yml
@@ -62,14 +62,14 @@ steps:
|
|||||||
"msgtype": "markdown",
|
"msgtype": "markdown",
|
||||||
"markdown": {
|
"markdown": {
|
||||||
"content": "{{#success build.status}}<font color=\"green\">✅ 构建成功</font>{{else}}<font color=\"red\">❌ 构建失败</font>{{/success}}\n\n
|
"content": "{{#success build.status}}<font color=\"green\">✅ 构建成功</font>{{else}}<font color=\"red\">❌ 构建失败</font>{{/success}}\n\n
|
||||||
**📦 项目**: {{repo.owner}}/{{repo.name}} \n
|
📦 项目: {{repo.owner}}/{{repo.name}} \n
|
||||||
**🔢 构建号**: #{{build.number}} \n
|
🔢 构建号: #{{build.number}} \n
|
||||||
**🌿 分支**: <font color=\"comment\">{{build.branch}}</font> \n
|
🌿 分支: <font color=\"comment\">{{build.branch}}</font> \n
|
||||||
**🆔 提交标识**: `{{build.commit}}` \n
|
🆔 提交标识: `{{build.commit}}` \n
|
||||||
**👤 提交者**: {{build.author}} \n
|
👤 提交者: {{build.author}} \n
|
||||||
**📝 提交信息**: {{build.message}} \n
|
📝 提交信息: {{build.message}} \n
|
||||||
**⏱️ 持续时间**: {{build.duration}}秒 \n\n
|
⏱️ 持续时间: {{build.duration}}秒 \n\n
|
||||||
{{^success build.status}}**📜 失败日志**: [点击查看]({{build.link}}/logs) \n{{/success}}
|
{{^success build.status}}📜 失败日志: [点击查看]({{build.link}}/logs) \n{{/success}}
|
||||||
[📊 查看详情]({{build.link}})"
|
[📊 查看详情]({{build.link}})"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user