Page MenuHomeDevCentral

Schema for Jenkins job notifications
ClosedPublic

Authored by dereckson on Aug 20 2016, 19:38.
Tags
None
Referenced Files
F2749452: D620.id.diff
Fri, Mar 29, 14:04
F2747331: D620.diff
Fri, Mar 29, 05:03
Unknown Object (File)
Wed, Mar 27, 01:37
Unknown Object (File)
Sat, Mar 23, 10:50
Unknown Object (File)
Fri, Mar 22, 10:34
Unknown Object (File)
Fri, Mar 22, 01:35
Unknown Object (File)
Thu, Mar 21, 04:28
Unknown Object (File)
Mon, Mar 18, 07:06
Subscribers
None

Details

Summary

The schema is a JSON object containing 3 properties:

  • defaultGroup: the fallback group when a job has no mapping
  • groupsMapping: an array containing the job/group mappings
  • notifyOnlyOnFailure: an array of the jobs we ignore all events excepted failure.

The defaultGroup default value is "ci" per 8d700507fd7c.

The groupsMapping is similar to Phabricator ones, a collection of
objects with two properties:

  • group (string): the name of the group receiving the notification
  • jobs (array): the names of the jobs for this group (* allowed)

The notifyOnlyOnFailure is a workaround to a limitation of the Jenkins
Notifications plug-in, which doesn't have an option to notify only when
the job has failed.

Ref T953

Test Plan

Prepare a configuration file for Nasqueron jobs: P216.

Diff Detail

Repository
rNOTIF Notifications center
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson retitled this revision from to Schema for Jenkins job notifications.
dereckson updated this object.
dereckson edited the test plan for this revision. (Show Details)
dereckson added a reviewer: dereckson.

Nasqueron schema: P216

storage/app/JenkinsPayloadAnalyzer/.gitignore
4

\n

dereckson edited edge metadata.
dereckson edited edge metadata.
This revision is now accepted and ready to land.Aug 20 2016, 19:42
This revision was automatically updated to reflect the committed changes.