提交 cdee827d 编写于 作者: N Nicolas De loof 提交者: Nicolas De Loof

restore backward compatibility

d3096819 changed constructor signature. Add a backward-compatible one
上级 a9edf6a4
......@@ -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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册