diff options
Diffstat (limited to 'distrib/gitblit.properties')
-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
|