kind: pipeline # 定义一个管道 type: docker # 当前管道的类型 name: "中文流水线" # 当前管道的名称 steps: # 定义管道的执行步骤 - name: "中文STEP" # 步骤名称 image: node:latest # 当前步骤使用的镜像 commands: # 当前步骤执行的命令 - echo "********************" - date - whoami - hostname - echo "********************" # - name: "测试Python用例" # image: python:3.10 - name: "测试微信推送" # https://plugins.drone.io/plugins/wechat-2 image: clem109/drone-wechat settings: corpid: from_secret: wechat_corp_id corp_secret: from_secret: wechat_corp_secret agent_id: from_secret: wechat_agent_id title: ${DRONE_REPO_NAME} description: "Build Number: ${DRONE_BUILD_NUMBER} failed. ${DRONE_COMMIT_AUTHOR} please fix. Check the results here: ${DRONE_BUILD_LINK} " msg_url: ${DRONE_BUILD_LINK} btn_txt: btn