Build Publisher Plugin

Plugin Information

Plugin ID build-publisher
Latest Release 1.8
Latest Release Date Dec 28, 2009
Changes via Fisheye In Latest Release
Since Latest Release
Maintainer(s) David Vrzalik (id: dvrzalik)
Issue Tracking Open Issues

What does it do?


This plugin allows records from one Hudson to be published on another Hudson. The typical use case is for you to run builds within the firewall, then send the results to another Hudson which is facing the outside world.



How it works?

For the convention, let's call the Hudson that's doing builds private Hudson, and let's call the Hudson that's just broadcasting build results as public Hudson. The following pieces are involved to make this work:

  • Both private and public Hudsons need to have the build-publisher plugin installed. This plugin makes Hudson capable of sending records to public Hudson.
  • Private Hudson is configured with information about public Hudson(s) that it wants to send data to.
  • Jobs on private Hudson need to opt-in to the publication (through the job configuration.)

Once this is set up, build records from private Hudson is sent to public Hudson, through HTTP. If a corresponding job will be automatically created on the public Hudson and kept in sync with the private Hudson.

For this arrangement to work correctly, two Hudsons need to have more or less the same version of plugins.

Configuration and usage

Public Hudson instance is configured on the global configuration page. You have to specify name, URL, administrator username and password, as shown on the following screenshot.


Check "Publish build" on the job configuration page int the "Post-build Actions" section to mark the project for publishing:


To check the status of publishing go to "Dashboard" -> "Manage Hudson" -> "Build publishing status". In case of any problem during build transmission, you can restart the publishing thread or reschedule interrupted transmission (otherwise the thread waits for 10 minutes and tries again).


Missing features and known bugs

  • Views don't get synchronized automatically
  • The plugin isn't able to deal with matrix projects whose configurations (axis) have changed (I had problems reproducing this lately)

Change Log

Version 1.8 (2009/12/28)
  • Fix link to matrix configuration
  • Update uses of deprecated APIs

Labels:

plugin-upload plugin-upload Delete
Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.
  1. Jul 01, 2009

    mmorizot says:

    Hi, The Build is also launched on "public hudson server" : is there a way of pr...

    Hi,

    The Build is also launched on "public hudson server" : is there a way of preventing the build to also be triggered on the "publication server" ?

    I have a build that is done on "hudson server A" and publishes the build to "public server B" . Unfortunatly, once published, Server B also trioes to launch a build on it's own. How do i stop that?

    thnX

    1. Jul 02, 2009

      David Vrzalik says:

      Hi, this is an open issue. See https://hudson.dev.java.net/issues/show_bug.cgi?i...
    2. Oct 26

      K. R. Walker says:

      I set up two jobs; one as a trigger, one as a worker. The trigger has the worker...

      I set up two jobs; one as a trigger, one as a worker. The trigger has the worker listed as a downstream project. I only publish the worker.