{
buildMetaDataProperties.setProperty(
Constant.PROP_NAME_SCM_LOCALLY_MODIFIED_FILES, info.getFiles());
if (scmAccessInfo.isFailIndicated())
{
throw new ScmException("Local Modifications detected ("
+ info.getFiles() + ").");
}
}
}
catch (final Exception e)
{
if (scmAccessInfo.isFailIndicated())
{
throw new ScmException(e);
}
else
{
buildMetaDataProperties.setProperty(
Constant.PROP_NAME_SCM_LOCALLY_MODIFIED, "unknown");