Definite's Extractor

My findings on Life, Linux, Open Source, and so on.

Tag Archives: hudson.

JUnit XML Skeleton fits for Hudson

Hudson built-in supports JUnit XML reports. But unfortunately, the thing I want Hudson to show is neither written in Java, nor generate by JUnit, yet I managed to create a minimal JUnit XML that is accepted by Hudson. Here is how it looks like:

<?xml version="1.0" encoding="UTF-8" ?>
<testsuite errors="1" failures="1" hostname="HOSTNAME" name="PACKAGENAME" tests="3" time="3.0" timestamp="2010-06-30T05:16:00Z">
  <testcase name="TESTCASE1-SUCCESS" time="1.0" />
  <testcase name="TESTCASE2-ERROR" time="1.0">
    <error message="ERR_MSG">STACK_TRACE</error>
  <testcase name="TESTCASE3-FAILURE" time="1.0">
    <failure message="FAIL_MSG">STACK_TRACE</failure>

Replace all uppercase text strings with your strings, and attribute time,failure,error with real values.

[cdash hudson] Google, you have overdone it again!

Yesterday I go Google for searching the articles about cdash – web interface for cmake/ctest – and hudson – an extensible continuous integration server.

However, Google insisted that what I really want is the airplane crash in Hudson river, see the screenshot:

Even in the section that suppose to show the result of cdash hudson.
Yeah, I know the workaround is to adding additional keyword, such as “cmake”.
But, come on, don’t try to outsmart users. 🙂