|
@@ -33,30 +33,3 @@ steps:
|
|
|
- python ppctl.py -d
|
|
|
# - python ppctl.py -c
|
|
|
|
|
|
- - name: success
|
|
|
- image: clem109/drone-wechat
|
|
|
- settings:
|
|
|
- corpid: ww419ee4063735e1c0
|
|
|
- corp_secret: zpiRBLETH9eLwIMQ4eJ_r_dcm3BPSGeLHvTcft8Ot-M
|
|
|
- agent_id: 1000004
|
|
|
- title: "Pipeline ${DRONE_REPO_NAME} Success"
|
|
|
- description: "${DRONE_BUILD_LINK} 部署完成"
|
|
|
- msg_url: ${DRONE_BUILD_LINK}
|
|
|
- btn_txt: "否"
|
|
|
- when:
|
|
|
- status:
|
|
|
- - success
|
|
|
-
|
|
|
- - name: failure
|
|
|
- image: clem109/drone-wechat
|
|
|
- settings:
|
|
|
- corpid: ww419ee4063735e1c0
|
|
|
- corp_secret: zpiRBLETH9eLwIMQ4eJ_r_dcm3BPSGeLHvTcft8Ot-M
|
|
|
- agent_id: 1000004
|
|
|
- title: "Pipeline ${DRONE_REPO_NAME} Failure"
|
|
|
- description: "${DRONE_BUILD_LINK} 部署失败,请检查配置!"
|
|
|
- msg_url: ${DRONE_BUILD_LINK}
|
|
|
- btn_txt: "否"
|
|
|
- when:
|
|
|
- status:
|
|
|
- - failure
|