Hudson as a passive server

Is it possible to use Hudson only as a passive server, i.e. Do not use it for construction purposes instead of sending assembly results generated by some other tool, possibly in XML format, and using Hudson to display only the results?

+6
hudson
source share
4 answers

It is very comfortable.

If it runs on a single computer, such as a cron job, check out http://wiki.hudson-ci.org/display/HUDSON/Monitoring+external+jobs .

If you need to extract data from another place, use the shell script as the build target and do what you need to localize the data locally (scp, etc.).

+1
source share

It is possible that with periodic builds and the SCM URL plugin, you can insert xml and Plot Plug-in files for display, but more detailed information is required to provide a more detailed answer.

What build tool do you use to create build results?

+1
source share

Hudson's several of my works are simply summaries and information displayed. "Work" must be performed to collect and store data. The launch can be based on dependent works or just scheduled at night. Some examples:

  • One of our tasks simply combines Cobertura .SER files and generates Cobertura reports for general code coverage from all of our modules, integration and various types of system tests (a hint that others do the same: Cobertura has little logic for unsynchronized SER files Using them will give some odd results. There are some settings that can be made for the merge code, which reduces the problem)
  • Some of our collections write data to the database. We have a once-a-week task that extracts data from a database and creates an HTML file with trend diagrams. Results are saved as part of the assignment.
+1
source share

It seems to me that you are describing a plugin for Hudson. For example, the UDP plugin:
http://wiki.hudson-ci.org/display/HUDSON/CCCC+Plugin

It takes the result in XML form from a parser application and displays it pretty nicely in the Hudson interface.

Using the same concept, you can write a plugin that works with XML output from any build tool that you have in mind and display it in Hudson.

+1
source share

All Articles