<?xml version='1.1' encoding='UTF-8'?>
<project>
  <actions/>
  <description></description>
  <keepDependencies>false</keepDependencies>
  <properties>
    <com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty plugin="gitlab-plugin@1.5.11">
      <gitLabConnection></gitLabConnection>
    </com.dabsquared.gitlabjenkins.connection.GitLabConnectionProperty>
    <jenkins.model.BuildDiscarderProperty>
      <strategy class="hudson.tasks.LogRotator">
        <daysToKeep>1</daysToKeep>
        <numToKeep>-1</numToKeep>
        <artifactDaysToKeep>-1</artifactDaysToKeep>
        <artifactNumToKeep>-1</artifactNumToKeep>
      </strategy>
    </jenkins.model.BuildDiscarderProperty>
  </properties>
  <scm class="hudson.scm.NullSCM"/>
  <canRoam>true</canRoam>
  <disabled>false</disabled>
  <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
  <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
  <triggers/>
  <concurrentBuild>false</concurrentBuild>
  <builders>
    <hudson.tasks.Shell>
      <command>#backup database
ssh deromemont@homer.deromemont.com sudo /data/docker/mysql/backup.sh

#docker cleaning
ssh deromemont@homer.deromemont.com sudo docker container prune -f
ssh deromemont@homer.deromemont.com sudo docker image prune -f
ssh deromemont@homer.deromemont.com sudo docker network prune -f
ssh deromemont@homer.deromemont.com sudo docker volume prune -f

#backup docker directory
ssh deromemont@homer.deromemont.com sudo rsync -aih --delete --ignore-missing-args --exclude=&quot;mediacenter/plex/&quot; --exclude=&quot;Cache/&quot; /data/docker/ /data/sshfs/backup/docker/</command>
    </hudson.tasks.Shell>
  </builders>
  <publishers/>
  <buildWrappers/>
</project>