Continuum

Incorrect FAQ answer for "How does Continuum detect a successful build?"

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major 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 :
    0

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

Activity

Hide
Emmanuel Venisse added a comment -

Fixed.

Show
Emmanuel Venisse added a comment - Fixed.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: