Notifications defined here will override all default notifications configured in the global plugin settings.
In case the list is left empty, the default notifications will be sent out.
Notification types must occur only once within this setting.
If the message template is left empty, the project's default message template will be used. If that's empty as
well, then the plugin falls back to the default message templates.
The message template may contain any normal build variable (using the $VAR_NAME notation).
Additionally the following variables are provided for convenience:
- $DURATION - duration of the build in human readable form. Example: 13 min
- $URL - URL to the job page on jenkins. You can use normal HTML to create a link
i.e: <a href="$URL">More Info</a>
- $CAUSE - cause of this change. Example: 'Started by user foo'
- $COMMIT_MESSAGE - The first line of the last commit's message in HTML encoded format if
there was a new changeset since the last build, empty string otherwise.
- $COMMIT_MESSAGE_TEXT - The first line of the last commit's message in text format if
there was a new changeset since the last build, empty string otherwise.
- $CHANGES - a short overview of the changes that caused that job, if available
- $CHANGES_OR_CAUSE - either $CHANGES or $CAUSE, see above
- $STATUS - the status of the build. Example: 'Success'
- $TEST_COUNT - the number of tests ran.
- $FAILED_TEST_COUNT - the number of failed tests.
- $SKIPPED_TEST_COUNT - the number of skipped tests.
- $SUCCESS_TEST_COUNT - the number of successful tests.
- $PRINT_FULL_ENV - dump of all variables, use this only for debugging purposes.
Be aware that it also contains the full host environment which might contain sensitive information.