JobRequestHelper helper = getHelper(ctx);
TestProjectRequest jobRequest = (TestProjectRequest) request;
JobResult result = null;
try {
result = helper.testProject( jobRequest.getJobId(), jobRequest.getRepositoryName(), jobRequest.getProjectName(), jobRequest.getBuildConfig() );
} finally {
JobStatus status = result != null ? result.getStatus() : JobStatus.SERVER_ERROR;
logger.debug( "-----testProject--- , repositoryName: {}, project name: {} [{}]",
jobRequest.getRepositoryName(), jobRequest.getProjectName(), status);
}