TeamSite 6.7.1
OpenDeploy 6.1.1
Windows Server 2003 SP1
We have a custom menu deploy script that we moved from our old environment (5.5.2) to our new 6.7.1 server. On the new server, the script successfully completes the deploy as it did on the old server, but doesn't return the same output to the UI with the deployment status/details. Can anyone out there who has moved similar scripts to 6.7.1 help me with what needs to change. In my section of code that runs the deploy command, we have:
my $deploy_rc = `$deploy_command`;
Then the sub returns the $deploy_rc to be used in another sub to print the HTML summary report to the UI. Nothing is ever printed in the UI because $deploy_rc is not being populated. I've tried replacing the above with:
open(C, "$deploy_cmd |");
while(){
$deploy_rc = $deploy_rc . $_;
}
close C;
I even added a line to write to the log in the while loop and that isn't showing either. The actual code is posted in
this thread if you'd like to reference it.