GIS-1621 - Create another deprecated overload of artifactimport
This commit is contained in:
parent
aaa96f26d9
commit
697afbb7e3
1 changed files with 20 additions and 0 deletions
|
|
@ -259,4 +259,24 @@ def artifactimport(meta,
|
||||||
return artifactimport(meta, importoptions, destpath)
|
return artifactimport(meta, importoptions, destpath)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Deprecated (use above)
|
||||||
|
def artifactimport(meta,
|
||||||
|
String buildjob,
|
||||||
|
buildnumberorselector,
|
||||||
|
String destpath,
|
||||||
|
boolean incrementversionnumber = true,
|
||||||
|
String filter = '',
|
||||||
|
String excludes = '',
|
||||||
|
boolean fingerprint = false) {
|
||||||
|
def importoptions = getNewImportOptions()
|
||||||
|
|
||||||
|
importoptions.jenkinsjob(buildjob, buildnumberorselector)
|
||||||
|
importoptions.setincrementversionnumber(incrementversionnumber)
|
||||||
|
importoptions.setfilter(filter)
|
||||||
|
importoptions.setexcludes(excludes)
|
||||||
|
importoptions.setfingerprint(fingerprint)
|
||||||
|
|
||||||
|
return artifactimport(meta, importoptions, destpath)
|
||||||
|
}
|
||||||
|
|
||||||
return this;
|
return this;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue