Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
TeamSite
TeamSite, LiveSite and OpenDeploy
OD return value
System
Hi,
I am using the below code. To find out whether deployment success or not.Some times OD service is down still it is returning return code '0' and always saying it is successful.
my $deploy_command="$od_home\\bin\\iwodstart.bat file_deploy -k \"deploy_def=generic-def\" -k \"source_area_name=$areapath\" -k \"repfarm=$repFarm\" -k \"dest_area_name=$destination_dir\" -k \"filelist=$filelist\"";
$results = `$deploy_command`;
$rc = $?;
if ($rc eq 0)
{
$deploystatus = "Deployment Finished.";
}
else
{
$deploystatus = "Deployment NotFinished-ERRORCODE-$rc";
}
Could any one pls.help me to solve this issue.Does this command return's always '0'??.
I don't think so bcz i read in manuel it will return 0,1,2.
0-succeeded
1-starting of the deployment failed
2-deployment ran and returned a failed status. right
So what if OD service is down??
Thanx in advance
Find more posts tagged with
Comments
There are no comments yet