commit | c2422cd552e9594c619eb70aa087a682e0281a9e | [log] [tgz] |
---|---|---|
author | Sebb <sebb@apache.org> | Mon Apr 10 17:48:30 2023 +0100 |
committer | Sebb <sebb@apache.org> | Mon Apr 10 17:48:30 2023 +0100 |
tree | 77875786641ed9bd65f28e1503d52f8c4fd3d354 | |
parent | fe7ddabb3029a40fe18cb0862b50246265e01d3d [diff] |
Can provide params
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, $branch, $hash] 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