Page MenuHomeDevCentral

Schema for Jenkins job notifications
ClosedPublic

Authored by dereckson on Aug 20 2016, 19:38.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 19, 18:06
Unknown Object (File)
Tue, Nov 19, 15:49
Unknown Object (File)
Tue, Nov 19, 14:50
Unknown Object (File)
Tue, Nov 19, 12:12
Unknown Object (File)
Tue, Nov 19, 12:05
Unknown Object (File)
Mon, Nov 18, 04:47
Unknown Object (File)
Mon, Nov 18, 04:21
Unknown Object (File)
Mon, Nov 18, 03:45
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 Passed
Unit
No Test Coverage
Branch
jenkins

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.