Relay input meta files to output meta folders
This commit is contained in:
parent
f98f9e9565
commit
e466480d24
2 changed files with 2 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ this.JENKINS = Store.JENKINS
|
|||
this.ARTIFACTSERVER = Store.JENKINS
|
||||
|
||||
def archive(meta, artifactlist, Store store = JENKINS ) {
|
||||
echo "Archiving artifacts to store: ${store}"
|
||||
meta.copyrelatedmeta()
|
||||
if (store == JENKINS) {
|
||||
archiveArtifacts(artifactlist)
|
||||
|
|
|
|||
|
|
@ -797,6 +797,7 @@ class MetaInfo extends GISJsonSerialised {
|
|||
}
|
||||
|
||||
def copyrelatedmeta() {
|
||||
script.echo("Copying related input meta data to output meta")
|
||||
for (relatedmetainfo in associatedmeta) {
|
||||
def srcpath = "${relatedmetainfo.offsetpath}/${METAFOLDERNAME}"
|
||||
def destpath = "${METAFOLDERNAME}/${relatedmetainfo.offsetpath}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue