MojoFailureException {
RetrieveEnvironmentInfoRequest request = new RetrieveEnvironmentInfoRequest()
.withEnvironmentId(curEnv.getEnvironmentId()).withEnvironmentName(curEnv.getEnvironmentName())
.withInfoType(infoType);
RetrieveEnvironmentInfoResult result = getService()
.retrieveEnvironmentInfo(request);
return result;
}