测试电报通知使用判断
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
李寻欢 2020-01-07 10:43:57 +08:00
parent 217f59a75b
commit 2b0d6565c5

View File

@ -8,7 +8,7 @@ steps:
- go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
- golangci-lint run
- name: 编译x86_64平台二进制文件
- name: 编译二进制文件
image: golang:latest
environment:
GOOS: linux
@ -25,9 +25,7 @@ steps:
use_cache: true
username: docker
password: dockeruser
tags:
- latest
- 0.0.1
auto_tag: true
when:
event: push
branch: master
@ -37,4 +35,9 @@ steps:
settings:
token: 883905265:AAFv3NAH4ykdh2m_XiQUuyKNJ9XE5RV7ukU
to: 365042238
message: 项目构建成功
message: >
{{#success build.status}}
编号:{{build.number}} 构建成功。
{{else}}
编号:{{build.number}} 构建失败。
{{/success}}