Page MenuHomeDevCentral

Schema for Jenkins job notifications
ClosedPublic

Authored by dereckson on Aug 20 2016, 19:38.
Tags
None
Referenced Files
F3946270: D620.diff
Thu, Dec 26, 15:02
Unknown Object (File)
Fri, Dec 20, 12:30
Unknown Object (File)
Tue, Dec 17, 02:36
Unknown Object (File)
Fri, Dec 13, 19:53
Unknown Object (File)
Fri, Dec 13, 13:14
Unknown Object (File)
Thu, Dec 12, 12:56
Unknown Object (File)
Wed, Dec 4, 16:39
Unknown Object (File)
Wed, Dec 4, 16:27
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.