Add ability to read Live Output from remote agents using Build Agent Utility.
Added JMX Build Agent Utility.
Added Lookup Services control feature to the Agent Utility. Allows you to stop a LookupService and it's ClassServer. (Note: We can always stop a LookupService, but the Swing Agent Utility can only stop the ClassServer on the localhost and the JMX Agent Utility can only stop the ClassServer on the host running the JMX server.)
Remove deprecated BuildAgentService.doBuild() methods.
ant builder with
showProgress=true issues (mentioned below in the 2.7.1 notes) have been solved via the use of a JNLP Extension to install the required cruisecontrol-antprogresslogger.jar.
<remoteResult> child tag, see Child Elements for details.
java.verson to the list of automatically defined agent entries, as the existing
java.vm.version shows the hotspot vm version in 1.6.0_04+
showProgress=truehas known issues when using Java Web Start 6.0 to deploy build agents. See Java Web Start deployment of build agents for details/workarounds.
moduleattribute has been removed, so you must remove it from your config.xml.
moduleattribute is no longer used by the DistributedMasterBuilder. The Project Name is used instead (since the 'projectname' property is now passed into all Builder.build() calls). The
moduleattribute is deprecated and will be removed in a future release, so you should remove it from your config.xml.
Build Agents now support the assignment of 'EntryOverrides' that can be set at runtime. see Advanced Configuration - Build Agent Entry Overrides for details.
The quick and dirty solution is to just keep an old 2.6 version of the Lookup Service running until you've upgraded all older builds to the current CCDist.
If that is not an option, to allow CCDist 2.6 Build Agents to function properly on a network with current CCDist, you should edit the CCDist v 2.6 source tree using one of the solutions described below (listed below in preferred order). The goal is to remove reggie-dl.jar and reggie.jar (since reggie.jar includes some classes that should only be downloaded) from all classpaths, except that of the 2.6 Lookup Service.
- Open the contrib/distributed/build.xml file and edit the init-agent target, commenting out the fileset include for reggie-dl.jar.
<copy todir="dist/agent/lib"> <fileset dir="lib"> <!--include name="reggie-dl.jar" /--> <!-- This is what you comment out /--> <include name="jini-core.jar"/> <include name="jini-ext.jar"/> <include name="jsk-platform.jar"/> <include name="tools.jar"/> <include name="start.jar"/> </fileset> ....(If you use webstart to deploy Agents, also remove the reggie-dl.jar reference from webcontent/webstart/agent.jnlp).
Then re-build CCDist 2.6. This will rebuild the dist/agent dir (and zip), and any future rebuilds of CCDist 2.6 will be fixed.
- If you never rebuild CCDist 2.6, you can manually delete reggie-dl.jar from dist/agent/lib. If you use dist/cc-agent.zip, also delete the jar from that zip file.
- Copy the contents of contrib/distributed/lib to a new directory, say contrib/distributed/nodl. Delete reggie-dl.jar AND reggie.jar from this new dir. Then edit your CCDist startup script to use only the new directory. For example, in cruisecontrol.sh, change
- If you never rebuild CCDist 2.6, you can manually delete reggie-dl.jar AND reggie.jar from contrib/distributed/lib.