This plugin is deprecated and should not be used

{jenkins-plugin-info:pluginId=rest-service-scheduler}

This plugin delegates scheduling decisions to external scheduling service.

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