/*
 * DSL script for package builder Jenkins jobs
 */

job {
    name 'PBuilder_Update-Linux-all-master-debug';

    description '''
<p>Maintenance job that updates all chroot instances for pbuilder</p>
<p>The job is created by the DSL plugin from <i>pbuilder-jobs.groovy</i> script.</p>
''';

	label 'packager';

	logRotator(365, 100, 10, 10);

	parameters {
		stringParam("Distributions", "precise saucy trusty wheezy jessie",
			"The distributions to update");
	}

	triggers {
		// Run every Sunday
		// Times are UTC
		cron("H H * * 0");
	}

	wrappers {
		timestamps();
	}

	steps {
		shell('''
$HOME/ci-builder-scripts/bash/update --no-package --dists "$Distributions"
''');
	}
}


/*
 * DSL script for package builder Jenkins jobs
 */

job {
    name 'PBuilder_Update-Linux-all-master-debug';

    description '''
<p>Maintenance job that updates all chroot instances for pbuilder</p>
<p>The job is created by the DSL plugin from <i>pbuilder-jobs.groovy</i> script.</p>
''';

	label 'packager';

	logRotator(365, 100, 10, 10);

	parameters {
		stringParam("Distributions", "precise saucy trusty utopic wheezy jessie",
			"The distributions to update");
	}

	triggers {
		// Run every Sunday
		// Times are UTC
		cron("H H * * 0");
	}

	wrappers {
		timestamps();
	}

	steps {
		shell('''
$HOME/ci-builder-scripts/bash/update --no-package --dists "$Distributions"
''');
	}
}


Update utopic pbuilder chroot as well
Update utopic pbuilder chroot as well

Change-Id: I3c31427d7d420abbaf73be5abfe435cd93f2f921
