multi-configuration project (alpha) : Hudson builds the job everytime remotely

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

multi-configuration project (alpha) : Hudson builds the job everytime remotely

sampath_SAP-2
This post was updated on .
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

RE: multi-configuration project (alpha) : Hudson builds the job everytime remotely

mezlight

I think you have to select “Individual Node” under “Build on Multiple Nodes” of the Configuration Matrix and select “master” or

if you have a label defined for your master select Labels and then the label name of where your master is defined under.

 

 

From: sampathkumar subramaniam [mailto:[hidden email]]
Sent: Tuesday, July 20, 2010 5:53 AM
To: [hidden email]
Subject: multi-configuration project (alpha) : Hudson builds the job everytime remotely

 

Hi Friends,

I have a multi-configuration project which I want to build only on master everytime and master should dispatch this to the slave.

I have a slave machine, when I trigger the build it runs everytime directly on the Slave machine. Log says, "Building remotely on"

 In the slave machine node configuration I have selected, "Keep this machine for tied jobs only".

In job Configuration, I have not selected any option in "Configuration Matrix".

Could you please suggest how I can build the multi-configuration job only on master everytime?

Thanks,

Sampath.

Reply | Threaded
Open this post in threaded view
|

Re: multi-configuration project (alpha) : Hudson builds the job everytime remotely

Simon Wiest
In reply to this post by sampath_SAP-2
Hi Sampath,

maybe http://wiki.hudson-ci.org/display/HUDSO/Matrix+Tie+Parent+Plugin 
is of interest for you. It allows you to tie the execution of the parent
build of a matrix to the master node. The individual combinations are
still free to be dispatched to slave nodes.

Cheers,
Simon.
--
sampathkumar subramaniam (20.07.2010 11:53):

> Hi Friends,
>
> I have a multi-configuration project which I want to build only on
> master everytime and master should dispatch this to the slave.
>
> I have a slave machine, when I trigger the build it runs everytime
> directly on the Slave machine. Log says, *"Building remotely on" *
>
>   In the slave machine node configuration I have selected, "Keep this
> machine for tied jobs only".
>
> In job Configuration, I have not selected any option in "Configuration
> Matrix".
>
> Could you please suggest how I can build the multi-configuration job
> only on master everytime?
>
> Thanks,
>
> Sampath.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: multi-configuration project (alpha) : Hudson builds the job everytime remotely

Sami Tikka
In reply to this post by sampath_SAP-2
This is a known problem (or maybe it is a feature). It used to work
the way you want but then "flyweight job" support was implemented and
after that the "parent" build of a matrix build runs on any random
node of the cluster, even on ones that have "Keep this machine for
tied jobs only" setting.

This is very annoying if you have some nodes in the Hudson cluster
which are special, they do not have some software installed or they do
not have access to SCM server or something else.

The solution is either to install the new "matrix tie parent plugin"
(as suggested by another reply) or turn off "flyweight job" support.
See hudson.model.Hudson.flyweightSupport property on
http://wiki.hudson-ci.org/display/HUDSON/Features+controlled+by+system+properties

-- Sami

2010/7/20 sampathkumar subramaniam <[hidden email]>:

> Hi Friends,
>
> I have a multi-configuration project which I want to build only on master
> everytime and master should dispatch this to the slave.
>
> I have a slave machine, when I trigger the build it runs everytime directly
> on the Slave machine. Log says, "Building remotely on"
>
>  In the slave machine node configuration I have selected, "Keep this machine
> for tied jobs only".
>
> In job Configuration, I have not selected any option in "Configuration
> Matrix".
>
> Could you please suggest how I can build the multi-configuration job only on
> master everytime?
>
> Thanks,
>
> Sampath.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]