Don't you think `"/#{@jenkins_path}"` will be better than `"#{@jenkins_path}/"`? Good catch by the way.