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) ]) } }