GIS-1621 - Try to stop jenkins crash
This commit is contained in:
parent
f1c17a385f
commit
6621b2c402
1 changed files with 1 additions and 4 deletions
|
|
@ -27,6 +27,7 @@ def copyToFinalPosition(String pathToIntermediate, String finalBaseFolder, Strin
|
|||
def Map artifactsImporter(meta, artifactDetails, installerDetails) {
|
||||
artifactFetched = [:]
|
||||
|
||||
def importoptions = importer.getNewImportOptions()
|
||||
for (installer in toBuild) {
|
||||
def artifactKeys = installerDetails.get(installer)[1]
|
||||
if (artifactKeys instanceof java.lang.String) {
|
||||
|
|
@ -35,11 +36,7 @@ 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 importoptions = importer.getNewImportOptions()
|
||||
|
||||
importoptions.jenkinsjob(sourceProject, sourceselector)
|
||||
|
||||
importoptions.setincrementversionnumber(incrementversionnumber)
|
||||
importoptions.setfilter(toCopy)
|
||||
importoptions.setexcludes(notToCopy)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue