Report question

Question: What is simple way to fail a build when a property is not set?