bndr / gojenkins

Jenkins API Client in Go. Looking for maintainers to move this project forward.
Apache License 2.0
870 stars 446 forks source link

issue of README.md #244

Closed sawyerming closed 2 years ago

sawyerming commented 3 years ago

Hi, I found there is a issue in Usage of README.md ,below: "queueid, err := jenkins.InvokeSimple(ctx, params)" I lookinto and found InvokeSimple() is not jenkins's function, It belongs to Job. Should use Job to invoke it? Cheers.

bigdimple commented 3 years ago

"jenkins.InvokeSimple(ctx, params)" should be "job.InvokeSimple(ctx, params)"