commit | 975802eacfe97cbdbd67817e567aa94242695324 | [log] [tgz] |
---|---|---|
author | Daniel Gruno <humbedooh@apache.org> | Wed Nov 23 22:59:36 2022 +0100 |
committer | GitHub <noreply@github.com> | Wed Nov 23 22:59:36 2022 +0100 |
tree | d09f3a6117f22e6ff65666c3d4329904a1e60c06 | |
parent | 3cd72ece3575562f63a6f7631e142c58c72c8f65 [diff] |
Capture output (stdout+stderr) as text, print it if non-empty.
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