diff --git a/vars/transformPipeline.groovy b/vars/transformPipeline.groovy index 55940fa..31204ab 100644 --- a/vars/transformPipeline.groovy +++ b/vars/transformPipeline.groovy @@ -64,7 +64,7 @@ jobDraft.replace() if (fileExists('out/observations.csv')) { uploadTidy(['out/observations.csv'], - "https://ons-opendata.github.io/ref_alcohol/columns.csv") + "https://ons-opendata.github.io/${pipelineParams.refFamily}/columns.csv") } else { def datasets = [] String dspath = util.slugise(env.JOB_NAME) @@ -78,7 +78,7 @@ } for (def dataset : datasets) { uploadTidy([dataset.csv], - "https://ons-opendata.github.io/ref_alcohol/columns.csv", + "https://ons-opendata.github.io/${pipelineParams.refFamily}/columns.csv", dataset.path, dataset.metadata) }