Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0.2
-
Fix Version/s: 1.0.3
-
Component/s: Documentation
-
Labels:None
-
Environment:Windows XP SP2, Ant Build, JRE 5, Ant 1.6.5
-
Complexity:Novice
-
Number of attachments :
Description
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
Fixed.