summaryrefslogtreecommitdiffstats
path: root/example-sync-mirror.config.xml
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2021-01-29 20:14:05 +0100
committerLibravatar Kristóf Marussy <kristof@marussy.com>2021-01-29 20:14:05 +0100
commita45489a26b69398edfbd9697e36a5a7b31eba20f (patch)
tree8316def187e2d4358400702ec2e314d0f63b5876 /example-sync-mirror.config.xml
parentRework for better integration with Jenkins (diff)
downloadgitmirror-a45489a26b69398edfbd9697e36a5a7b31eba20f.tar.gz
gitmirror-a45489a26b69398edfbd9697e36a5a7b31eba20f.tar.zst
gitmirror-a45489a26b69398edfbd9697e36a5a7b31eba20f.zip
Example config filesHEADmain
Diffstat (limited to 'example-sync-mirror.config.xml')
-rw-r--r--example-sync-mirror.config.xml38
1 files changed, 38 insertions, 0 deletions
diff --git a/example-sync-mirror.config.xml b/example-sync-mirror.config.xml
new file mode 100644
index 0000000..b4064b3
--- /dev/null
+++ b/example-sync-mirror.config.xml
@@ -0,0 +1,38 @@
1<?xml version='1.1' encoding='UTF-8'?>
2<project>
3 <actions/>
4 <description></description>
5 <keepDependencies>false</keepDependencies>
6 <properties>
7 <org.jenkinsci.plugins.authorizeproject.AuthorizeProjectProperty plugin="authorize-project@1.3.0">
8 <strategy class="org.jenkinsci.plugins.authorizeproject.strategy.AnonymousAuthorizationStrategy"/>
9 </org.jenkinsci.plugins.authorizeproject.AuthorizeProjectProperty>
10 <jenkins.model.BuildDiscarderProperty>
11 <strategy class="hudson.tasks.LogRotator">
12 <daysToKeep>14</daysToKeep>
13 <numToKeep>-1</numToKeep>
14 <artifactDaysToKeep>-1</artifactDaysToKeep>
15 <artifactNumToKeep>-1</artifactNumToKeep>
16 </strategy>
17 </jenkins.model.BuildDiscarderProperty>
18 </properties>
19 <scm class="hudson.scm.NullSCM"/>
20 <canRoam>true</canRoam>
21 <disabled>false</disabled>
22 <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
23 <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
24 <triggers>
25 <hudson.triggers.TimerTrigger>
26 <spec>H 7 * * *</spec>
27 </hudson.triggers.TimerTrigger>
28 </triggers>
29 <concurrentBuild>false</concurrentBuild>
30 <builders>
31 <hudson.tasks.Shell>
32 <command>sudo -u gitolite -g gitolite /usr/local/bin/gitmirror.sh example</command>
33 <configuredLocalRules/>
34 </hudson.tasks.Shell>
35 </builders>
36 <publishers/>
37 <buildWrappers/>
38</project>