Skip to content

continuousphp/notification-schema

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

ContinuousPHP

Build Status

ContinuousPHP© is the first and only PHP-centric PaaS to build, package, test and deploy applications in the same workflow.

ContinuousPHP\Notification-schema

Core:

  • BI
  • Pubnub
  • Github
  • Bitbucket
  • Gitlab

Optionnal:

  • SNS
  • SMS
  • Emails
  • IRC
  • Webhooks
  • HipChat
  • NewRelic
  • Scrutinizer-ci

Event Types

  • build-start
  • activity-start
  • activity-end
  • build-fail
  • build-warning
  • build-success
  • build-deploy

Notification Description Schema

name: slack

core_events:
  - build-start
  - build-success

optional_events:
  - build-warning
  - build-deploy

attributes:
  - label: Slack WebHook URL
    key: url
    type: number|string
    required: bool

Event Message Schema

{
  event: 'build-start',
  build: {
    uid: '',
    provider: 'github',
    repository: 'ContinuousPHP/Foo',
    is_organization: true,
    builder: 'johndoe'
    pr_id: 157,
    refs: '/refs/heads/master',
    pipeline_id: '/refs/heads/*',
    commit: 'bc34514acabab234245124355652342353',
    status: 'success',
    commit_message: 'my feature commit',
    coverage: 0.8 // average of all test activity coverage,
    duration: seconds,
    start_time: DATETIME,
    activities: [{
      uid: '',
      type: 'package-test',
      name: 'Package test',
      start_time: DATETIME,
      end_time: DATETIME,
      state: 'finished',
      result: 'success',
      blocking: false,
      coverage: 0.8,
    }]
  }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published