The solution is in FAQS : http://maven.apache.org/continuum/faqs.html#how-does-continuum-detect-a-successful-build

Emmanuel

Stevenson, Chris a écrit :
I've also had this problem with bad builds.

Chris
-----Original Message-----
From: puschteblume [mailto:[EMAIL PROTECTED] Sent: 29 November 2005 15:03
To: [email protected]
Subject: continuum: Error in Plugins leads to successful build

Hi

I have written a plugin and used it also with continuum. Unfortunately if
there is an error in the plugin the build will be interrupted, but continuum
sends a mail with a successful build message. How to handle that?

Thanks for your help
Heiko

Online report :
http://localhost:8080/continuum/servlet/continuum/target/ProjectBuild.vm/vie
w/ProjectBuild/id/6/buildId/36
Build statistics:
  State: Ok
  Previous Build: No previous build.
  Started at: Di, 29 Nov 2005 15:48:48 +0100
  Finished at: Di, 29 Nov 2005 15:48:55 +0100
  Total time: 6s
  Build Trigger: Forced
  Exit code: 0
  Building machine hostname: silversurfer
  Operating system : Windows XP(Service Pack 1)
  Java version : 1.5.0_05(Sun Microsystems Inc.)

Changes
      No files changed
****************************************************************************
Output:
****************************************************************************
[INFO] Scanning for projects...
[INFO]
----------------------------------------------------------------------------
[INFO] Building Maven
[INFO]    task-segment: [clean, install]
[INFO]
----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] [buildnumber:create {execution: default}] [INFO] Properties file to
load: mynumber.properties [INFO]
----------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
----------------------------------------------------------------------------
[INFO] null
[INFO]
----------------------------------------------------------------------------
[INFO] Trace
java.lang.NullPointerException
        at java.util.Properties$LineReader.readLine(Properties.java:365)
        at java.util.Properties.load(Properties.java:293)
        at
com.form105.maven.plugin.CreateNumberMojo.execute(CreateNumberMojo.java:46)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManage
r.java:399)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLife
cycleExecutor.java:519)
at



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--------------------------------------------------------------------------------
The information contained herein is confidential and is intended solely for the
addressee. Access by any other party is unauthorised without the express written permission of the sender. If you are not the intended recipient, please contact the sender either via the company switchboard on +44 (0)20 7623 8000, or
via e-mail return. If you have received this e-mail in error or wish to read our
e-mail disclaimer statement and monitoring policy, please refer to http://www.drkw.com/disc/email/ or contact the sender. 3166
--------------------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to