Page MenuHomeDevCentral

Schema for Jenkins job notifications
ClosedPublic

Authored by dereckson on Aug 20 2016, 19:38.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 31, 05:19
Unknown Object (File)
Sat, Oct 26, 13:55
Unknown Object (File)
Sun, Oct 20, 15:05
Unknown Object (File)
Sun, Oct 20, 10:20
Unknown Object (File)
Wed, Oct 9, 02:37
Unknown Object (File)
Mon, Oct 7, 12:36
Unknown Object (File)
Sep 17 2024, 07:31
Unknown Object (File)
Sep 11 2024, 21:50
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.