This plugin provides an interface with the GoBLD.
See examples
Implements onEnterBuildable
Therefore ask for a Gobld node if possible.
Implements onLeft
Therefore kill the assigned worker if possible.
If you'd like to query the build queue then:
http://localhost:8080/jenkins/gobld-webhook/queuePost
Output format:
{
"items":[
{
"blocked":false,
"taskURL":"job/a/",
"why":"Waiting for next available executor",
"id":1,
"labelExpression":"master",
"url":"queue/item/1/"
}
]
}
You can limit the number of results too:
http://localhost:8080/jenkins/gobld-webhook/queue?limit=1