In distributed builds, the <continuumServerUrl> in $buildagent_home/conf/continuum-buildagent.xml is used for determining where the buildagent should return the results to.

With the current setup, the <continuumServerUrl> needs to be manually configured especially if the the Continuum master runs on different host and port other than the default (localhost:8080). Another limitation is that only one Continuum instance can use a buildagent.

So, I propose to have the continuumServerUrl be configurable through the buildContext which is sent by the master to the build agent. With this, the <continuumServerUrl> in the continuum-buildagent.xml is still retained. So, if the <continuumServerUrl> is not set in the continuum-buildagent.xml, the continuumServerUrl from the buildContext is used.

In this way, a build agent can be used by multiple Continuum instances. And since the continuumServerUrl is in the buildContext, the result is guaranteed to be returned to the master who invoked the build.

--

Thanks,

Jev

Reply via email to