gobld-plugin
Introduction
This plugin provides an interface with the GoBLD.
Getting started
JCasC
See examples
Call when a job just entered the queue
Implements onEnterBuildable
Therefore ask for a Gobld node if possible.
Call when a job just left the queue
Implements onLeft
Therefore kill the assigned worker if possible.
Queue status
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