fix(jenkins-client): fix logical and style issues from MR