Due to some maintenance issues, this service has been switched in read-only mode, you can find more information about the why

and how to migrate your plugin documentation in this blogpost

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Plugin Information

No information for the plugin 'rest-service-scheduler' is available. It may have been removed from distribution.

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

  • No labels