mendhak / teamcity-stash

TeamCity - Stash integration. Plugin for TeamCity which updates Stash with build statuses
https://code.mendhak.com/teamcity-stash/
54 stars 17 forks source link

Trunkating build name in StashClient added. #10

Closed fatroom closed 11 years ago

fatroom commented 11 years ago

Stash doesn't like long display names which contains line breaks. Gradle produce really long wall of text on build failure that recognised as build name. So Stash rejects messages about failed builds with Gradle. This patch is just taking first line of submitted build name and pass it to Stash.

mendhak commented 11 years ago

So sorry for the delay, I haven't been receiving notifications in a while.

I've merged and pushed, please test the zip

https://github.com/mendhak/teamcity-stash/blob/master/teamcity.stash.zip