TeamSite 5.0.1 on Windows 2000
I have an external task that I am running to deploy files to production. The problem is that I cannot capture a failed deployment. The script calls back a success regardless. Has anyone had any success with this?
My complete ipl follow:
******************************
use TeamSite::Config;
($iwhome = TeamSite::Config::iwgethome()) =~ tr|\\|/|;
use TeamSite::WFtask;
use TeamSite::WFworkflow;
my($jobid, $taskid, $area) = (
@ARGV[0..2]);
my($task) = TeamSite::WFtask->new($taskid);
$qaDeployment = `$iwhome/opendeploy/OpenDeployNG/bin/iwodstart auto_prod`;
if ($qaDeployment == 0)
{
$task->CallBack(1, 'The automated deployment to Production was successful');
}
else
{
$task->CallBack(0, 'The automated deployment to Production failed');
}
exit;
******************************
Thanks
Brent
Beckman Coulter Inc.