diff options
Diffstat (limited to 'example-sync-mirror.config.xml')
-rw-r--r-- | example-sync-mirror.config.xml | 38 |
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> | ||