mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-10 10:36:21 +00:00
restore backward compatibility
d3096819f6 changed constructor signature. Add a backward-compatible one
This commit is contained in:
1 parent
a9edf6a421
commit
cdee827d55
2 files changed
+4
No files matched your search
Binary file not shown.
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user