From 2e1c500dec65cca8c8c484e3aab0daaa645af78a Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Thu, 20 Dec 2018 00:00:27 -0500 Subject: Actually transfer the correct files --- deliver.groovy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deliver.groovy b/deliver.groovy index 2f411fe..807ca84 100644 --- a/deliver.groovy +++ b/deliver.groovy @@ -6,6 +6,7 @@ // aux_packages // conda_installer_version // conda_version +// remote_host // output_dir def gen_specfiles(label) { @@ -79,7 +80,7 @@ node('master') { withCredentials([usernamePassword(credentialsId: '322ad15d-2f5b-4d06-87fa-b45a88596f30', usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD')]) { - sh "rsync -avzr hstdp*.txt ${USERNAME}@${hostname}:${output_dir}" + sh "rsync -avzr ${delivery_pipeline}*.txt ${USERNAME}@${hostname}:${output_dir}" } } } -- cgit