diff --git a/cicd/testbed_poll.pl b/cicd/testbed_poll.pl index 71ed79d61..fe599423c 100755 --- a/cicd/testbed_poll.pl +++ b/cicd/testbed_poll.pl @@ -408,8 +408,11 @@ $cloud_sdk opensync.zone1.art2wave.com print_note("Upload results."); #When complete, upload the results to the requested location. - if ($ap_out =~ /Results-Dir: (.*)/g) { + if ($ap_out =~ /Results-Dir: (.*)/) { my $rslts_dir = $1; + if ($rslts_dir =~ /(.*)\'/) { + $rslts_dir = $1; + } print ("Found results at: $rslts_dir\n"); do_system("rm -fr /tmp/$report_name"); do_system("mv $rslts_dir /tmp/$report_name");