This plugin is deprecated and should not be used
Plugin Information |
---|
No information for the plugin 'rest-service-scheduler' is available. It may have been removed from distribution. |
Overview
This plugin monitors jenkins queue and sends it to external scheduler periodically as well as obtaining job-to-node mapping. It propagates this mapping back to the Jenkins scheduler.
Configuration
Plugin is inactive unless URL of external scheduler is provided in global configuration (Choose custom scheduler/Delegate scheduling to REST service/REST server url). Plugin will try to connect to the remote scheduler and verify the connection.
External scheduler
External scheduler is a REST service deployed on URL accessible to Jenkins. It communicates using JSON encoded messages.
/hudsonQueue/info
GET
Yields plaintext message identifying the service.
info: <service-identification-string>
/hudsonQueue
POST
Updates json encoded queue representing jobs awaiting execution (buildable items).
PUT
Sets json encoded queue representing jobs awaiting execution (buildable items).
GET
Yields json encoded solution to be scheduled on jenkins
DELETE
Stops external scheduler