GIS-1621 - Use new form of importer method
This commit is contained in:
parent
7af31083e0
commit
0d53bf9f58
1 changed files with 10 additions and 1 deletions
|
|
@ -35,7 +35,16 @@ def Map artifactsImporter(meta, artifactDetails, installerDetails) {
|
|||
for (artifactKey in artifactKeys) {
|
||||
(sourceProject, sourceselector, destFolder, incrementversionnumber, toCopy, notToCopy, binariesFolders) = artifactDetails.get(artifactKey)
|
||||
if (artifactFetched.get(artifactKey) == null) {
|
||||
def importmeta = importer.artifactimport(meta, sourceProject, sourceselector, destFolder, incrementversionnumber, toCopy, notToCopy)
|
||||
|
||||
def importoptions = importer.getNewImportOptions(this)
|
||||
|
||||
importoptions.jenkinsjob(sourceProject, sourceselector)
|
||||
|
||||
importoptions.setincrementversionnumber(incrementversionnumber)
|
||||
importoptions.setfilter(toCopy)
|
||||
importoptions.setexcludes(notToCopy)
|
||||
|
||||
def importmeta = importer.artifactimport(meta, importoptions, destFolder)
|
||||
artifactFetched.put(artifactKey, importmeta)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue