Import specific job binaries; Add imported meta to this jobs meta
This commit is contained in:
parent
5aae28adce
commit
2d679105c8
1 changed files with 2 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
|||
// Given details about artifacts to import and details of installers to build, import artifacts that are required
|
||||
def artifactsImporter(meta, artifactDetails, installerDetails) {
|
||||
def Map artifactsImporter(meta, artifactDetails, installerDetails) {
|
||||
artifactFetched = [:]
|
||||
|
||||
def importer = load("${autobuilder.commonscripts()}/import/importer.groovy")
|
||||
|
|
@ -8,6 +8,7 @@ def artifactsImporter(meta, artifactDetails, installerDetails) {
|
|||
(sourceProject, sourceselector, destFolder, toCopy, notToCopy, binariesFolders) = artifactDetails.get(artifactKey)
|
||||
if (artifactFetched.get(artifactKey) == null) {
|
||||
def importmeta = importer.artifactimport(meta, sourceProject, sourceselector, destFolder, toCopy, notToCopy, true)
|
||||
artifactFetched.put(artifactKey, importmeta)
|
||||
}
|
||||
}
|
||||
return artifactFetched
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue