Sha256: 386f54db2e66b91d791a67e2c572c17954749d529c757d7d1fc7495277756f42
Contents?: true
Size: 546 Bytes
Versions: 15
Compression:
Stored size: 546 Bytes
Contents
# Derived from http://timnew.me/blog/2013/04/07/multiple-project-summary-reporting-standard-cctray-xml-feed/ status_map = {'backlogged' => 'failure', 'locked' => 'failure'} xml.instruct! xml.Projects do xml.Project( '', name: stack.to_param, lastBuildStatus: status_map.fetch(stack.merge_status, stack.merge_status).capitalize, activity: deploy.running? ? 'Building' : 'Sleeping', lastBuildTime: deploy.ended_at || deploy.started_at || deploy.created_at, lastBuildLabel: deploy.id, webUrl: stack_url(stack), ) end
Version data entries
15 entries across 15 versions & 1 rubygems