Michael Xu
Michael Xu

Reputation: 557

hudson detecting failure when builds are succeeding

our hudson build is succeeding, but hudson is somehow reporting a failure.

what is the criteria that hudson uses for determining failure and success?

BTW, Our build updates a .xml file with the results of the test. I've checked, and it appears that hudson is correctly updating this file (The modification time matches)

Thanks

Upvotes: 0

Views: 1324

Answers (1)

Mark Rushakoff
Mark Rushakoff

Reputation: 258418

Click on the link for the build that failed (#123 for instance), and then go to Console Output link on the left. That log will tell you what step of the build failed.

Note that just because the build of the software succeeded, doesn't mean the entire build process succeeded. You might have a final step that, for instance, deletes some intermediate, unnecessary files. If one of those files was in use and couldn't be deleted (causing the batch file to return an error), then the step failed, and as a result the entire build is marked as a failure.

Upvotes: 2

Related Questions