common/tools/ats/ats_specialise_test_drop.pl
changeset 819 3df98b3b0a8d
parent 730 9837304abcc6
child 820 2a9e6403efaf
--- a/common/tools/ats/ats_specialise_test_drop.pl	Tue Dec 08 16:19:57 2009 +0000
+++ b/common/tools/ats/ats_specialise_test_drop.pl	Wed Dec 09 11:48:17 2009 +0000
@@ -118,11 +118,13 @@
     forcearray => [ 'name', 'id','owner','priority','buildid','postaction','type','target','device', 'property', 'command', 'param'],#
         keyattr => [] );
     
-        
 # Insert the specified test drop name, if any.
 $test_drop->{'test'}->{'name'}->[0] = $test_drop_name, if $test_drop_name;
 # Insert the specified build id, if any.
 $test_drop->{'test'}->{'buildid'}->[0] = $build_id, if $build_id;
+# Insert the FileStoreAction parameter
+my $postaction_params = $test_drop->{'test'}->{'postAction'}->[0]->{'params'}->{'param'};
+$postaction_params->[1] = { 'name' => "to-folder", 'value' => "\\\\localhost\\ats3_testdrop_arrivals\\reports\\" . $test_drop_name };
 
 if ($host_name) { # Also insert specified host name
 	my $devices = $test_drop->{'test'}->{'target'}->[0]->{'device'};