Documentation for DrupalCI APIs - [Draft]

Events happening in the community are now at Drupal community events on www.drupal.org.
You are viewing a wiki page. You are welcome to join the group and then edit it. Be bold!

This is a work in progress, please feel free to add or modify.

Overview of DrupalCI API Project

This sub-project provides an API layer between Drupal.org and the DrupalCI dispatcher, allowing the modular substitution of backend components without requiring code changes within the Drupal.org integration module.
Link to Project: https://www.drupal.org/project/drupalci_api
Link to the issue queue: https://www.drupal.org/node/2373627

APIs

  • jobRun: Runs a Jenkins Job, to be called by the DrupalCI module to automate the job run
    parameters include: repository, branch and patch, returns: response

  • jobStatus: Returns the Job status, this will be polled from the results server
    parameters include: **** , returns: status

  • jobCancel: Cancels Job, this will called by ****
    parameters include: **** , returns: id

  • jobRestart: Restarts Job, this will triggered when ****
    parameters include: **** , returns: id

  • jobConsole: Gets a jobs console output from the dispatcher, this will triggered when ****
    parameters include: **** , returns: ****

  • jobResults: Gets results of the build, this will triggered when ****
    parameters include: **** , returns: ****

  • auth: Authenticate against the API, this will triggered when ****
    parameters include: **** , returns: ****

  • status: Get global API status, this will triggered when ****
    parameters include: **** , returns: ****

Drupal.org Testing Infrastructure

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week