continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "brad hadfield" <brad.hadfi...@pitchpointsolutions.com>
Subject detecting build failure
Date Mon, 13 Aug 2007 15:39:22 GMT
Build failures are not detected by Continuum. I'm using continuum
version 1.1 beta 1 with maven 2.0.7.
 
 
I tried using the fixed maven batch file indicated in the FAQ but it
fails due to a class Path error. This is what the end of the mvn.bat
file looks like:
 
@REM Start MAVEN2
:runm2
%MAVEN_JAVA_EXE% %MAVEN_OPTS% -classpath %CLASSWORLDS_JAR%
"-Dclassworlds.conf=%M2_HOME%\bin\m2.conf" "-Dmaven.home=%M2_HOME%"
org.codehaus.classworlds.Launcher %MAVEN_CMD_LINE_ARGS%
if ERRORLEVEL 1 goto error
goto end
 
:error
set ERROR_CODE=1
 
:end
@REM set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" goto endNT
 
@REM For old DOS remove the set variables from ENV - we assume they were
not set
@REM before we started - at least we don't leave any baggage around
set MAVEN_JAVA_EXE=
set MAVEN_CMD_LINE_ARGS=
goto postExec
 
:endNT
@endlocal
 
:postExec
if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat"
@REM pause the batch file if MAVEN_BATCH_PAUSE is set to 'on'
if "%MAVEN_BATCH_PAUSE%" == "on" pause
 
if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE%
 
exit /B %ERROR_CODE%
 
 
Thanks
Brad


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message