gojenkins
gojenkins copied to clipboard
What is the meaning of job.isQueued
Recently I had the case the rather rare case that jenkins.BuildJob returned no queueID. This is due to the following code.
https://github.com/bndr/gojenkins/blob/65ee8c9388b5f3b986f2c79179a6696cd8705858/job.go#L426-L429
What is the meaning of isQueued on a job?
The code was introduce with https://github.com/bndr/gojenkins/commit/cb7a166b901e477e186c1e846fb8f52b7ecda8da which added Docker for testing.
For me this is an error case as I have no queueID to proceed further.
See also #226