Sha256: 8d24ffd1acb7960998da03d074ed29542ecdf2b93d31b6e027eee7b29760b4ba

Contents?: true

Size: 552 Bytes

Versions: 2

Compression:

Stored size: 552 Bytes

Contents

<%
  @read_cmd = 'crontab -l'
  @write_cmd = 'crontab -'
  @additive = ["# rubber-jenkins-start", "# rubber-jenkins-end"]
%>

# Nightly backup of Jenkins home at 2am
0 2 * * * <%= Rubber.root %>/script/rubber cron --task util:backup --directory=/mnt/jenkins_backups --name=jenkins --command="nice zip -r #{dir}/jenkins_<%= rubber_env.host %>_#{time_stamp}.zip <%= rubber_env.jenkins_build_home %> -x */jobs/*/workspace/* */.bundler/* */.gem/* */.java/* */.dbus/* */.mozilla/* */.npm/* */.cache/* */tmp/* */.git/* */node_modules/* */bower_components/*"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubber-3.2.2 templates/jenkins/config/rubber/role/jenkins/crontab
rubber-3.2.1 templates/jenkins/config/rubber/role/jenkins/crontab