Skip to content

tcWebHooksPlugin 1.1.355.396

Compare
Choose a tag to compare
@netwolfuk netwolfuk released this 20 Nov 03:09
· 7 commits to 1.1.x.x since this release

This release fixes the following issues:

Incorrect status ("running") reported by webhook on a finished/finishing build. #138

  • If the build status would have been "Running", the status will now be one of: "Started", "Changes Loaded", "Interrupted", "Almost Completed", "Finished", "Finished (Success)", "Finished (Failed)", "Finished (Fixed)", "Finished (Broken)", "Responsibility Changed"
  • Build Statuses that say something like "Tests passed: 315", will not be changed to one of the above messages.
  • Adds buildStatusDescription to payload

Limit the number of files listed in a changeset files value to 100 or less (by default). #150 #149
When tcWebHooks processes the build object to create the payload for a webhook, it generates a changes object which contains an array of the changed files relevant to the build. This set of files can be expensive to generate and has a performance impact for large changesets. It also bloats the webhook payload.

For changesets containing more then 100 changed files across all changes contributing to a build, the files array is now null and is typically excluded from the payload. This value can be changed if that doesn't suit. Typical values would be:

  • 100. The default count for files in a change.
  • 1000. Larger file sets, but not unlimited.
  • 0. Never show the files list.
  • -1. Unlimited. This restores the old behaviour, and can be a performance issue.

For more information, or to control the values, see: https://github.com/tcplugins/tcWebHooks/wiki/Specifying-the-maximum-files-listed-in-a-change-set