// Derive the builderType
if (label != null) {
labelStr = label.toString();
AbstractProject job = Hudson.getInstance().getItemByFullName(
labelStr, AbstractProject.class);
if (job != null) {
OpenShiftBuilderSizeJobProperty osbsjp = ((OpenShiftBuilderSizeJobProperty) job
.getProperty(OpenShiftBuilderSizeJobProperty.class));
builderSize = osbsjp.builderSize;
OpenShiftApplicationUUIDJobProperty osappuidjp = ((OpenShiftApplicationUUIDJobProperty) job
.getProperty(OpenShiftApplicationUUIDJobProperty.class));
applicationUUID = osappuidjp==null?null:osappuidjp.applicationUUID;
OpenShiftBuilderTypeJobProperty osbtjp = ((OpenShiftBuilderTypeJobProperty) job
.getProperty(OpenShiftBuilderTypeJobProperty.class));
builderType = osbtjp.builderType;
OpenShiftPlatformJobProperty ospjp = ((OpenShiftPlatformJobProperty) job
.getProperty(OpenShiftPlatformJobProperty.class));
if(ospjp!=null) {
builderPlatform = ospjp.platform;
}
OpenShiftBuilderTimeoutJobProperty timeoutJobProperty = ((OpenShiftBuilderTimeoutJobProperty) job
.getProperty(OpenShiftBuilderTimeoutJobProperty.class));
if (timeoutJobProperty != null)
builderTimeout = timeoutJobProperty.builderTimeout;
else
builderTimeout = -1;