Incorrect FAQ answer for "How does Continuum detect a successful build?" -------------------------------------------------------------------------
Key: CONTINUUM-540 URL: http://jira.codehaus.org/browse/CONTINUUM-540 Project: Continuum Type: Bug Components: Documentation Versions: 1.0.2 Environment: Windows XP SP2, Ant Build, JRE 5, Ant 1.6.5 Reporter: Olli The answer to the FAQ "How does Continuum detect a successful build?" is out-of-date and incorrect (at least for Windows XP SP2). It states to addthe following to the end of your maven or ant .bat file: if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE% but this must be: if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERRORLEVEL% The env var %ERROR_CODE% is undefined (at least for Windows XP SP2). Starting with Continuum 1.0.2 the MAVEN_TERMINATE_CMD var is set by Continuum in the DefaultShellComanderHelper class so the second half of the FAQ answer is not needed if you need a version >= 1.0.2 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira