CruiseControl status

Semaphore provides CruiseControl status (CCTray / CCMenu) API endpoint.

This endpoint requires the user to provide his authentication token via auth_token parameter. To see your authentication token and project hash id, open a project’s settings, then find the “API” tab.

/api/v1/projects/:hash_id/cc.xml?auth_token=:auth_token&ccmenu=cc.xml

Arguments

  • auth_token users authentication token
  • hash_id of the project

Response

<Projects>
  <Project name="semaphore - development" activity="Sleeping" lastBuildStatus="Success" lastBuildLabel="1197" lastBuildTime="2013-08-20T12:48:38+00:00" webUrl="https://semaphoreci.com/projects/XXX/branches/XXX/builds/XXX"></Project>
  <Project name="semaphore - shields_badges" activity="Sleeping" lastBuildStatus="Success" lastBuildLabel="2" lastBuildTime="2013-04-10T11:04:49+00:00" webUrl="https://semaphoreci.com/projects/XXX/branches/XXX/builds/XXX"></Project>
  <Project name="semaphore - master" activity="Sleeping" lastBuildStatus="Success" lastBuildLabel="143" lastBuildTime="2013-08-20T12:51:44+00:00" webUrl="https://semaphoreci.com/projects/XXX/branches/XXX/builds/XXX"></Project>
  <Project name="semaphore - staging" activity="Sleeping" lastBuildStatus="Success" lastBuildLabel="62" lastBuildTime="2013-08-20T12:50:09+00:00" webUrl="https://semaphoreci.com/projects/XXX/branches/XXX/builds/XXX"></Project>
</Projects>