<?xml version='1.1' encoding='UTF-8'?>
<project>
<actions/>
<description>Makes a daily backup of the Jenkins Config files</description>
<keepDependencies>false</keepDependencies>
<properties>
<hudson.plugins.jira.JiraProjectProperty plugin="jira@3.0.10"/>
<org.jenkinsci.plugins.gitbucket.GitBucketProjectProperty plugin="gitbucket@0.8">
<linkEnabled>false</linkEnabled>
</org.jenkinsci.plugins.gitbucket.GitBucketProjectProperty>
</properties>
<scm class="hudson.scm.NullSCM"/>
<canRoam>true</canRoam>
<disabled>false</disabled>
<blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
<blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
<triggers>
<hudson.triggers.TimerTrigger>
<spec>0 0 * * *
</spec>
</hudson.triggers.TimerTrigger>
</triggers>
<concurrentBuild>false</concurrentBuild>
<builders>
<hudson.tasks.Shell>
<command>echo "Backing up Jenkins config files from ${HOME}"
cd ${HOME}
git status
echo "Finding added and changed files and committing to git"
git add * || true
git commit -a -m 'daily backup' || true
git push
echo "Checking status is okay"
git status
</command>
</hudson.tasks.Shell>
</builders>
<publishers/>
<buildWrappers/>
</project>