Need to promote changes through AccuRev when a build is successful.
Currently using the "CCNetIntegrationStatus" to determine whether or
not to promote changes but the value is the same through the build.

Here is what I am doing:
-------------------------------------------------
<!-->Integration Build Target<-->
<target name="release-build-int" description="Compiles the Release
version of the application; Runs Release-Clean target before
building." depends="release-clean">
<exec program="SCM_MakeRel.bat" />
<call target="promote-to-TST"/>
</target>

<!-->Promote from INT stream to TST stream to isolate changes prior to
TST build<-->
<target name="promote-to-TST" description="Promote changes from INT
stream to TST stream on successful INT stream builds" >
<if test="${CCNetIntegrationStatus == 'Success'}" >
<exec program="accurev.exe">
<arg line="promote -d -s ${int_stream} -S ${tst_stream}" />
</exec>
</if>
</target>
------------------------------------------

I have placed some "echo"'s to see the value of the
CCNetIntegrationStatus property and it is unchanged.  Maybe I am using
this wrong and should attempt finding another solution.

Any help would be greatly appreciated.

Reply via email to