Giter Club home page Giter Club logo

Comments (6)

liuweiGL avatar liuweiGL commented on June 4, 2024

不太理解你的使用场景,pipeline 跟机器人配置有什么关联呢?

from dingtalk-plugin.

2002wmj avatar 2002wmj commented on June 4, 2024

我们的场景是这样的: 我们有多个项目组都有自己的钉钉群,然后每个项目组都在自己项目的jenkinsfile里面配置了钉钉通知,现在新版必须填入robot(也就是后台配置的ID),ID是不能自己配置必须系统随机生成,我要给每个项目组他们的ID对照表,让开发自己对应去找,这样很不方便。而且如果不小心在后台删了,在新建ID又变了,替换很不方便。
我希望比如运营项目组就只要输入ID:yunying,这样就很方便了。

from dingtalk-plugin.

liuweiGL avatar liuweiGL commented on June 4, 2024

嗯,可能后续会做调整,但近期不会安排到计划中,这个需求比较少见,可以的话欢迎提个 PR。

from dingtalk-plugin.

2002wmj avatar 2002wmj commented on June 4, 2024

@liuweiGL 那我先在pipeline代码里面处理下这个。
还有一个问题想请教下,能不能共享下自由风格里面的MARKDOWN模板,我在pipeline里面自定义一直没有那个效果。

from dingtalk-plugin.

liuweiGL avatar liuweiGL commented on June 4, 2024
 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.

liuweiGL avatar liuweiGL commented on June 4, 2024

其他的信息自己找下对应的环境变量即可。

from dingtalk-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.