Code Monkey home page Code Monkey logo

drone-dingding's Introduction

drone-dingding

test on drone 0.8.9/1.0.0-rc5

Usage:

Put following lines in your .drone.yml

# drone 0.8.9
pipeline:
  notify:
    image: wuyue/drone-dingding
    secrets: [DING_DING_WEBHOOK_URL]
  build:
    ....
  notify:
    image: wuyue/drone-dingding
    secrets: [DING_DING_WEBHOOK_URL]
    when:
      status: [success, failure]

# drone 1.0.0-rc5
kind: pipeline
name: default

steps:
  - name: notify
    image: wuyue/drone-dingding
    environment:
      DING_DING_WEBHOOK_URL:
        from_secret: DING_DING_WEBHOOK_URL
  - name: build
    ....
  - name: notify
    image: wuyue/drone-dingding
    environment:
      DING_DING_WEBHOOK_URL:
        from_secret: DING_DING_WEBHOOK_URL
    when:
      status:
      - success
      - failure

Set dingding Incoming Webhook URL for notifications

    $ export DRONE_SERVER=https://www.test-drone.com
    $ export DRONE_TOKEN=<GET YOUR TOKEN AT https://www.test-drone.com/account>
    $ drone secret add --repository <your-repository> --image='wuyue/drone-dingding' --name DING_DING_WEBHOOK_URL --value https://oapi.dingtalk.com/robot/send?access_token=<your_access_token>

Base On: drone-stack

drone-dingding's People

Contributors

wuyue92tree avatar

Watchers

 avatar  avatar

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.