restore backward compatibility

d3096819f6 changed constructor signature. Add a backward-compatible one
This commit is contained in:
Nicolas De loof authored and Nicolas De Loof committed 2013-04-16 13:52:23 +02:00
1 parent a9edf6a421
commit cdee827d55
2 files changed
+4

No files matched your search

@@ -71,6 +71,10 @@ public class ArtifactArchiver extends Recorder {
@Nonnull
private Boolean allowEmptyArchive;
public ArtifactArchiver(String artifacts, String excludes, boolean latestOnly) {
this(artifacts, excludes, latestOnly, false);
}
@DataBoundConstructor
public ArtifactArchiver(String artifacts, String excludes, boolean latestOnly, boolean allowEmptyArchive) {
this.artifacts = artifacts.trim();