From 450f38e6fe62e9e8928bbc81ddd4b9df74915958 Mon Sep 17 00:00:00 2001 From: Dan Hawkins Date: Sat, 11 Dec 2021 16:58:20 +0000 Subject: [PATCH] Relay input meta files to output meta folders --- artifacts/archiver.groovy | 2 +- meta/folder.groovy | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/artifacts/archiver.groovy b/artifacts/archiver.groovy index 5497106..78bee55 100644 --- a/artifacts/archiver.groovy +++ b/artifacts/archiver.groovy @@ -10,7 +10,7 @@ def archive(meta, artifactlist, Store store = JENKINS ) { echo "Archiving artifacts to store: ${store}" meta.copyrelatedmeta() if (store == JENKINS) { - archiveArtifacts(artifactlist) + archiveArtifacts(artifacts: artifactlist) } } diff --git a/meta/folder.groovy b/meta/folder.groovy index c0c3620..efd48da 100644 --- a/meta/folder.groovy +++ b/meta/folder.groovy @@ -802,9 +802,9 @@ class MetaInfo extends GISJsonSerialised { def srcpath = "${relatedmetainfo.offsetpath}/${METAFOLDERNAME}" def destpath = "${METAFOLDERNAME}/${relatedmetainfo.offsetpath}" script.echo("Copying related meta folder: ${srcpath} to meta output folder: ${destpath} recursively") - fileOperations([ - folderCreateOperation(folderPath: destpath), - folderCopyOperation(sourceFolderPath: srcpath, destinationFolderPath: destpath) + script.fileOperations([ + script.folderCreateOperation(folderPath: destpath), + script.folderCopyOperation(sourceFolderPath: srcpath, destinationFolderPath: destpath) ]) } }