[JENKINS-19558] Making sure the post build is either enabled or disabled