[JENKINS-16641] Removed doPostBuild property
[JENKINS-16641] Improving throwns
[fixed JENKINS-16641] Revising tests