Hello All,
We call deploy scripts(cmd files) through our own make xml files from cruisecontrol. In the deploy CMD files there is error level return explicitly mentioned. But still cruise control does not catch the errors. Logs show it as failed but reports sucessfull. Below is how we call deploy scripts.
1. from cruisecontrol config.xml we call our own xml file like below
<schedule >
<ant anthome="C:\bea103\modules\org.apache.ant_1.6.5"
buildfile="V:\xxx\xxx\xxxx\mybuild.xml"
time="0330"
/>
</schedule>
2. and that mybuild.xml content is as below
<target name="xxxx">
<exec dir="V:\xxx\xxx\xxx" executable="cmd.exe" output="checkETSApps.txt">
<arg line="/c deploy.cmd"/>
</exec>
</target>
3. and deploy.cmd content is as below
call deploybackend.cmd(this telnets with servers)
IF ERRORLEVEL 1 EXIT /B 1
What are we missing here. Please advise.