// Execute the build
// ----------------------------------------------------------------------
try
{
ExecutionResult result = getBuildAgentShellCommandHelper().executeShellCommand( workingDirectory, actualExecutable,
arguments, output, project.getId(),
environments );
log.info( "Exit code: " + result.getExitCode() );
return new ContinuumAgentBuildExecutionResult( output, result.getExitCode() );
}
catch ( CommandLineException e )
{
if ( e.getCause() instanceof InterruptedException )
{