Fix test framework jenkinsapi incompatibility