Advertisement
Guest User

Untitled

a guest
Jul 12th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. pipeline:
  2. publish:
  3. image: plugins/docker
  4. repo: USER/PROJECT
  5. tags: dev
  6. secrets: [ docker_username , docker_password ]
  7. when:
  8. branch: [ develop ]
  9. event: [ push ]
  10. notfiy:
  11. image: plugins/slack
  12. webhook: WEBHOOK_URL
  13. channel: notifications
  14. username: drone
  15. template: >
  16. {{#success build.status}}
  17. repo {{repo.name}}
  18. branch {{build.branch}}
  19. commit {{build.commit}}
  20. link {{build.link}}
  21. author {{build.author}}
  22. build {{build.number}} succeeded. Good job.
  23. {{else}}
  24. repo {{repo.name}}
  25. branch {{build.branch}}
  26. commit {{build.commit}}
  27. link {{build.link}}
  28. author {{build.author}}
  29. build {{build.number}} failed. Fix me please.
  30. {{/success}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement