if ( currentTask.getProjectGroupId() == projectGroupId &&
currentTask.getScmRootAddress().equals( scmRootAddress ) )
{
log.info( "cancelling task for project group " + projectGroupId + " with scm root address " +
scmRootAddress );
taskQueueExecutor.cancelTask( currentTask );
try
{
SlaveBuildAgentTransportClient client =
new SlaveBuildAgentTransportClient( new URL( buildAgentUrl ) );