Skip to content

Instantly share code, notes, and snippets.

@bols-blue
Created May 6, 2012 13:06
Show Gist options
  • Save bols-blue/2622266 to your computer and use it in GitHub Desktop.
Save bols-blue/2622266 to your computer and use it in GitHub Desktop.
jenkins backup ant task
<?xml version="1.0" encoding="UTF-8"?>
<project default="backup" basedir=".">
<property environment="env" />
<target name="backup" >
<zip basedir="${env.HOME}"
destfile="/tmp/jenkins-backup.zip" excludes="war/**, workspace/*/**">
</zip>
</target>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment