[Xfce4-commits] <xfce-git-hooks:master> Add post-receive hook to trigger buildbot to build after updates.

Jannis Pohlmann jannis at xfce.org
Wed Sep 16 16:16:01 CEST 2009


Updating branch refs/heads/master
         to 9c553b5ebb4b06d844abac17b1c06f58347afd94 (commit)
       from 80d89ec746f35a186df061cd53d523532d24bb87 (commit)

commit 9c553b5ebb4b06d844abac17b1c06f58347afd94
Author: Jannis Pohlmann <jannis at xfce.org>
Date:   Wed Sep 16 16:14:51 2009 +0200

    Add post-receive hook to trigger buildbot to build after updates.
    
    This doesn't do anything at the moment because we first need to test
    this properly.

 hooks/post-receive-01-buildbot |    4 ++++
 post-update => post-receive    |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/hooks/post-receive-01-buildbot b/hooks/post-receive-01-buildbot
new file mode 100755
index 0000000..a7aca1b
--- /dev/null
+++ b/hooks/post-receive-01-buildbot
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+# Do nothing for now until this is tested.
+# git_buildbot.py --master=buildbot.xfce.org:9990 $1 $2 $3
diff --git a/post-update b/post-receive
similarity index 55%
copy from post-update
copy to post-receive
index daaf191..34b3851 100755
--- a/post-update
+++ b/post-receive
@@ -2,4 +2,4 @@
 
 XFCE_GIT_HOOK_DIR="/usr/local/share/xfce-git-hooks"
 
-$XFCE_GIT_HOOK_DIR/hooks/post-update-01-server-info
+$XFCE_GIT_HOOK_DIR/hooks/post-receive-01-buildbot



More information about the Xfce4-commits mailing list