bndr / gojenkins

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

Add a GetJobObj() in jenkins.go, also add job as param in GetBuildFro… #239

Closed figo closed 3 years ago

figo commented 3 years ago

…mQueueID()

This will avoid the problem of trying to create job object in GetBuildFromQueueID() from task.Name. task.Name can be different from job name when Job name has a folder structure.

Signed-off-by: Hui Luo luoh@vmware.com