[JENKINS-16641] Removed doPostBuild property
[JENKINS-16641] Improving throwns