Set Build Name 就是最后要生成的每条的样子git
Set jenkins user build variables 就能获取到BUILD_USER
,就是当前用户web
BUILD_NUMBER 就是数字,每次+1shell
commit和online_host 是自定义的变量从这里来api
构建触发器bash
Execute shell Commandapp
curl -S -m 5 -H "X-TOKEN: 123456789099876588" "http://notify.我司域名.com/api/dingtalk/message/send?receiver=$RECEIVER&content=$CONTENT"
复制代码
这个通知网址是我司本身搭建的。 curl