feat: 1
This commit is contained in:
@@ -49,9 +49,6 @@ steps:
|
|||||||
|
|
||||||
- name: notify
|
- name: notify
|
||||||
image: 10.7.127.190:38080/plugins/webhook:latest
|
image: 10.7.127.190:38080/plugins/webhook:latest
|
||||||
environment:
|
|
||||||
WEBHOOK_URL:
|
|
||||||
from_secret: wechat_webhook_url
|
|
||||||
when:
|
when:
|
||||||
status: [ success,failure ]
|
status: [ success,failure ]
|
||||||
settings:
|
settings:
|
||||||
@@ -66,7 +63,7 @@ steps:
|
|||||||
>**构建详情**: [点击查看]({{ build.link }})
|
>**构建详情**: [点击查看]({{ build.link }})
|
||||||
>**代码分支**: {{ build.branch }}
|
>**代码分支**: {{ build.branch }}
|
||||||
>**提交标识**: {{ build.commit }}
|
>**提交标识**: {{ build.commit }}
|
||||||
>**提交发起**: {{ DRONE_COMMIT_AUTHOR }} {{ build }} {{ DRONE_REPO_NAME }} ${DRONE_COMMIT_AUTHOR}
|
>**提交发起**: ${DRONE_COMMIT_AUTHOR} ${DRONE_COMMIT_AUTHOR_AVATAR}
|
||||||
>**提交信息**: {{ build.message }}
|
>**提交信息**: {{ build.message }}
|
||||||
"
|
"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user