Refactor spec
POST parameters were not submitted to jenkins