ccnet.config
<cruisecontrol xmlns:cb="urn:ccnet.config.builder">
<project name="A">
        <publishers>
                <forcebuild>
                  <project>B</project>
                  <enforcerName>Forcer</enforcerName>
                </forcebuild>
        </publishers>
</project>

<project name="B">
        <tasks>
                <exec executable="TestProject.bat" />
        </tasks>
</project>
</cruisecontrol>

TestProject.bat
echo %CCNetRequestSource% >> c:\mylog.log


C:\mylog.log (after running Project A) just contains the machine name,
the same as it would it I just forced a build on Product B...

Reply via email to