"Error occurred while checking if the project is already in queue: " + e.getMessage() );
}
OverallBuildQueue overallBuildQueue = getOverallBuildQueue( CHECKOUT_QUEUE,
defaultBuildDefinition.getSchedule().getBuildQueues() );
CheckOutTask checkoutTask = new CheckOutTask( projectId, workingDirectory, projectName, scmUsername,
scmPassword, scmRootUrl, subProjects );
try
{
if ( overallBuildQueue != null )
{