Build Publisher Plugin

This plugin comes is not maintained by its owner for Hudson and is made available under the Install-Tested plugin category as described here. If you have any issues with this plugin please mail the Hudson user list and not the owner

Plugin Information

Plugin ID build-publisher
Latest Release 1.11
Latest Release Date Sep 21, 2011
Sources Subversion
Support Eclipse Hudson Forum
Issue Tracking Eclipse Bugzilla

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

Compatibility Info

The plug-in is being maintained by its owner/maintainers from a [new home|https://wiki.jenkins-ci.org/display/JENKINS/Build+Publisher+Plugin]. Check the Tier info for details of compatibility

Version 1.10 (2010/09/08)
  • Fix for HUDSON-7330
Version 1.9 (2010/08/05)
  • Added option to disable triggers on public Hudson (HUDSON-3802)
Version 1.8 (2009/12/28)
  • Fix link to matrix configuration
  • Update uses of deprecated APIs

Labels:

plugin-upload plugin-upload Delete
tier3-installtest-plugin tier3-installtest-plugin 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, 2009

      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.

  2. Mar 30, 2010

    Anuj Shah says:

    Hi, I am using the Plot Plugin and the csv plot files are not published with th...

    Hi,

    I am using the Plot Plugin and the csv plot files are not published with the build.

  3. Aug 18, 2010

    Ragesh Nair says:

    Hi, Is there a way to publish to multiple public hudson using this plug-in in ...

    Hi,
    Is there a way to publish to multiple public hudson using this plug-in in a single job?? We can configure multiple public hudson in the plugin configuration but cant select multiple public hudsons in job configuration. Any tips, highly appreciated.

    Thanks
    -Ragesh
    Hudson Team, Sonyericsson

  4. Jan 25, 2011

    BoxUK_GAV says:

    Thanks for a really useful plugin! I have just one issue with it. Our build...

    Thanks for a really useful plugin!

    I have just one issue with it. Our build server launches a build on another Hudson server, which then publishes the build back to the master. The build appears on the master server, and it still shows the "build" button. It would be great if the build button were hidden for builds which have been published from another server as this is potentially confusing.

    Thanks,

    - Gav