This from the internet which explains why my peppers often don't produce outside and why yours might not under glass if your greenhouse gets too warm:
"Peppers, like tomatoes, are sensitive to temperature. Most peppers will drop their blooms when daytime temperatures get much
above 90 degrees F. in combination with night temperatures above 75 degrees F. They will also drop their blooms in the early spring if temperatures remain cool for extended periods. Hot peppers, such as jalapenos, withstand hot weather fairly well and can often produce fruit through the summer in most areas. Optimum temperatures fall between 70 degrees and 80 degrees F. for bell-type peppers and between 70 degrees and 85 degrees F. for hot varieties."
A friend here successfully grows her peppers in the partial shade of a white pine tree which helps keep the heat down while preventing or decreasing I should say, sun scald.