// Get information about the Project
Project siProject = iRepo.getProject();
// Ensure this is not a build project configuration
if ( !siProject.isBuild() )
{
Response res = siProject.checkpoint( msg, chkptLabel );
int exitCode = res.getExitCode();
boolean success = ( exitCode == 0 ? true : false );
WorkItem wi = res.getWorkItem( siProject.getConfigurationPath() );
String chkpt = wi.getResult().getField( "resultant" ).getItem().getId();
getLogger().info(