Comments (6)
不太理解你的使用场景,pipeline 跟机器人配置有什么关联呢?
from dingtalk-plugin.
我们的场景是这样的: 我们有多个项目组都有自己的钉钉群,然后每个项目组都在自己项目的jenkinsfile里面配置了钉钉通知,现在新版必须填入robot(也就是后台配置的ID),ID是不能自己配置必须系统随机生成,我要给每个项目组他们的ID对照表,让开发自己对应去找,这样很不方便。而且如果不小心在后台删了,在新建ID又变了,替换很不方便。
我希望比如运营项目组就只要输入ID:yunying,这样就很方便了。
from dingtalk-plugin.
嗯,可能后续会做调整,但近期不会安排到计划中,这个需求比较少见,可以的话欢迎提个 PR。
from dingtalk-plugin.
@liuweiGL 那我先在pipeline代码里面处理下这个。
还有一个问题想请教下,能不能共享下自由风格里面的MARKDOWN模板,我在pipeline里面自定义一直没有那个效果。
from dingtalk-plugin.
dingtalk (
robot: '58f10219-2cd3-4de7-a1af-f85f4010c10a',
type: 'MARKDOWN',
title: Jenkins 构建通知',
text: [
'# [$JOB_NAME]($JOB_URL)',
'---',
'- 任务:[$BUILD_NUMBER ]($BUILD_URL)',
'- 状态:<font color="red">成功</font>',
],
at: [
'185166001234'
]
)
from dingtalk-plugin.
其他的信息自己找下对应的环境变量即可。
from dingtalk-plugin.
Related Issues (20)
- Pipeline 中无法使用插件环境变量 HOT 5
- Configuration-as-Code 支持 HOT 6
- 安装了Ding Talk插件在系统配置找不到钉钉配置
- Jenkins升级后无法使用 HOT 2
- jenkins 2.406版本无法使用Dingtalk HOT 1
- 使用流水线无法发送消息 HOT 1
- 系统配置好了Jenkins,测试也可以正常发消息,在流水线中发布不成功 HOT 1
- ERROR: Step ‘Dingding Json Pusher’ aborted due to exception: HOT 2
- 自定义机器人下线后,这个还能用吗 HOT 6
- 配置钉钉手机号,at人是假at,没有提醒,不可点击 HOT 1
- 通知时机增加"修正状态" HOT 1
- 新版本无法使用
- dingtalk插件使用报错,测试error HOT 3
- 禁用了内置消息,freestyle的markdown格式不生效,钉钉通知的标题是默认的“jenkins构建通知”
- [BUG]关键字的帮助按钮点击后报错
- 钉钉点测试后无反应 F12报错 HOT 6
- dingtalk-plugin版本2.7.0,点击无反应 HOT 2
- 调用DingTalk报错FormatConversionException HOT 2
- 选中 `禁用内置消息` 复选框后下方无法在 `自定义内容` 和 `自定义消息` 之间切换
- TODO
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dingtalk-plugin.