String repName = buildConfiguration.getString(Constants.PLASTIC_REPOSITORY);
String repServer = buildConfiguration.getString(Constants.PLASTIC_REPOSITORYSERVER);
String branch = buildConfiguration.getString(Constants.PLASTIC_BRANCH_TO_TRACK);
if (repName == null || repName.trim().length() == 0) {
errorCollection.addError(Constants.PLASTIC_REPOSITORY, "The repository name must be specified");
}
try {
BranchInfo brInfo;
if (branch.equals(Constants.BR_NAME))