Fix lint errors and spec test for jenkins::cli class