public void setDescription(String value) {
this.description = value;
}
protected PurgePolicy getPurgePolicy() {
PurgePolicy policy;
if (baseDir == null) {
// deploy to local repository
policy = getBuild().getConfig().getPurgePolicy();
} else {
// deploy to specified repository
policy = new PurgePolicy();
policy.retentionCount = 1;
}
// override purge policy
if (revisionRetentionCount > -1) {