diff options
author | James Moger <james.moger@gitblit.com> | 2011-12-16 21:14:48 -0500 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2011-12-16 21:16:48 -0500 |
commit | fa54bec1d90ff0baa8a509bc68acb6a92bb817a8 (patch) | |
tree | 32b6d4521961757f6b60ab7d8a0ea0066f35d125 /distrib | |
parent | b4573fc1fc4c71ef620b0473a503bde9a8fd3578 (diff) | |
download | gitblit-fa54bec1d90ff0baa8a509bc68acb6a92bb817a8.tar.gz gitblit-fa54bec1d90ff0baa8a509bc68acb6a92bb817a8.zip |
Groovy push hooks
Diffstat (limited to 'distrib')
-rw-r--r-- | distrib/gitblit.properties | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/distrib/gitblit.properties b/distrib/gitblit.properties index 537f9b67..18566d8a 100644 --- a/distrib/gitblit.properties +++ b/distrib/gitblit.properties @@ -29,6 +29,51 @@ git.searchRepositoriesSubfolders = true git.enableGitServlet = true
#
+# Groovy Integration
+#
+
+# Location of Groovy scripts to use for Pre and Post receive hooks.
+# Use forward slashes even on Windows!!
+# e.g. c:/groovy
+#
+# SINCE 0.8.0
+groovy.scriptsFolder = groovy
+
+# Scripts to execute on Pre-Receive.
+#
+# These scripts execute after an incoming push has been parsed and validated
+# but BEFORE the changes are applied to the repository. You might reject a
+# push in this script based on the repository and branch the push is attempting
+# to change.
+#
+# NOTE:
+# These scripts are only executed when pushing to *Gitblit*, not to other Git
+# tooling you may be using. Also note that these scripts are shared between
+# repositories. These are NOT repository-specific scripts! Within the script
+# you may customize the control-flow for a specific repository by checking the
+# *repository* variable.
+#
+# SPACE-DELIMITED
+# SINCE 0.8.0
+groovy.preReceiveScripts =
+
+# Scripts to execute on Post-Receive.
+#
+# These scripts execute AFTER an incoming push has been applied to a repository.
+# You might trigger a continuous-integration build here or send a notification.
+#
+# NOTE:
+# These scripts are only executed when pushing to *Gitblit*, not to other Git
+# tooling you may be using. Also note that these scripts are shared between
+# repositories. These are NOT repository-specific scripts! Within the script
+# you may customize the control-flow for a specific repository by checking the
+# *repository* variable.
+#
+# SPACE-DELIMITED
+# SINCE 0.8.0
+groovy.postReceiveScripts =
+
+#
# Authentication Settings
#
@@ -385,6 +430,17 @@ mail.fromAddress = # SINCE 0.6.0
mail.adminAddresses =
+# List of email addresses for sending commit email notifications.
+#
+# This key currently requires use of the sendemail.groovy hook script.
+# If you set sendemail.groovy in *groovy.postReceiveScripts* then email
+# notifications for all repositories (regardless of access restrictions)
+# will be sent to these addresses.
+#
+# SPACE-DELIMITED
+# SINCE 0.8.0
+mail.mailingLists =
+
#
# Federation Settings
# SINCE 0.6.0
|