commit | e6ebeba017e9ea51f640c1bdcdfad32db6aaf57c | [log] [tgz] |
---|---|---|
author | Daniel Gruno <humbedooh@apache.org> | Wed Mar 10 19:48:36 2021 +0100 |
committer | GitHub <noreply@github.com> | Wed Mar 10 19:48:36 2021 +0100 |
tree | d5a26c6b4970d0d6bb43f3ba1e34456e419fa31b | |
parent | 69a1003e964c2cd62d8e7fa9c3488e9cb967ae38 [diff] |
Different syntax for git and svn
On-Commit Commands
Simple daemon that runs commands when a commit to a certain source has happened.
Sample occ.yaml
config:
pubsub: url: https://pubsub.apache.org:2070/commit user: user pass: pass subscriptions: git-change: topics: git/commit/some-git-repo-name oncommit: /x1/git/run-git-trigger.sh blamelist: notify@example.org blamesubject: Git trigger failure svn-change-in-dir: topics: svn/commit/somedir changedir: some/subdir oncommit: /x1/git/run-svn-trigger.sh blamelist: notify@example.org blamesubject: Subversion trigger failure