gojenkins icon indicating copy to clipboard operation
gojenkins copied to clipboard

What is the meaning of job.isQueued

Open CCFenner opened this issue 4 years ago • 1 comments

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.

CCFenner avatar Jun 17 '20 14:06 CCFenner

See also #226

CCFenner avatar May 17 '21 09:05 CCFenner