Hudson plugin stores only a single set of reports

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • Component/s: robot-plugin
    • None

      We are running Hudson 1.346 where we use a node on another machine to run
      the actual robot tests.

      We found that only a single set of reports would be stored for all runs.
      From memory (We rewrote some of the plugin to suit our needs about six
      weeks ago), it was reading the reports from the external node's directory
      which would get overwritten.

      The problem may have occurred because we are running the tests on a node,
      or possibly due to the version of hudson. Either way, I wanted to provide
      our solution so that anything useful could be reused in a future version.
      Note that my hudson knowledge is limited.

      We modified the plugin to always copy the results to the build directory.
      The build action directly uses the build path, whereas the project action
      finds the latest build which is not currently building and uses its build
      path. We also added a check to ensure that the report file exists,
      otherwise display an error (which could be improved upon).

      =Migrated from old robot-plugin project=

            Assignee:
            jpiironen
            Reporter:
            jpiironen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: