Removes badges with the given id from the Pipeline build. If no id is given, all badges will be removed from the Pipeline build.

Example: Remove badge with id

The following example removes a badge with the id, "test":

removeBadges id: 'test'

Example: Remove all badges

The following example removes all badges:

removeBadges()