I don't want to spam our coders with "build successful" notifications on every checkin. I'd rather have them assume things work unless they see an error but I'd like individual change authors to get a "By the way, your build didn't break" email.
I can think of a couple of ways to do this with actions from inside the project, I was just curious if there was already a well established way to do it? (If not, feel free to move this to WishList :)
The issue we have in FBServer at the moment is that there is no correlation between FBServer users and Source Control Users. This is something we plan to add in a future release. There is a way to get access to the source control changes inside your FB project, this is something that was added for 6.2 (the information that is shown on the build overview page in fbserver), however it hasn't been documented yet.
You can access the the FBTriggerFiles collection from the script events, here's a quick example :
dim item dim i if FBTriggerFiles.Count > 0 then
for i = 0 to FBTriggerFiles.Count -1 set item = FBTriggerFiles.Item(0)
'use item.UserName etc here
next end if
This will allow you to at least get some information about who did what, how you use that at the moment is up to you. In the future we should be able to get this all happening inside the notification engine on FBServer.
I have attached an updated code completion file which will add intellisense in the script editor for FBTriggerFiles, just drop it in the FinalBuilder\CodeCompletion folder.