If your Bamboo server has access to the internet, it can use Google Talk to send IM notifications about build results.
Configuring Bamboo to use Google Talk for Instant Messaging
Before you begin:
- Google Talk does not allow IM messages to be received unless the receiver has approved the sender. Please ensure that the Gmail user specified in step 6 is approved by each Google Talk recipient. That is, ensure that the 'Host' and 'Username' have previously sent messages to each other via Google Talk.
- The Google Talk service is hosted at talk.google.com. The default port is 5222. (Note: be aware that your firewall might be blocking traffic to this port.)
- TLS is required.
- The only supported authentication mechanism is SASL PLAIN. For additional information, please see: http://code.google.com/apis/talk/open_communications.html
To configure Bamboo to use Google Talk for Instant Messaging:
- Click the 'Administration' link in the top navigation bar.
- Click the 'IM Server' link in the left navigation column (under 'Communication').
- This will display the 'Instant Messaging Server Details' page. Click the 'Edit' button.
- In the 'Host' field, type 'talk.google.com'.
If your IM Server uses an "@googlemail.com" account, type 'googlemail.com' in the 'Host' field. - Leave the 'Port' field blank, Bamboo will perform a DNS lookup to figure out which port to use.
- In the 'Username' field, type the login name of the Google account from which IM notifications will be sent. Starting with Bamboo 3.4, you need to include the domain name, e.g. atlassianbamboo@gmail.com NOT atlassianbamboo.
If you are using your internal IM Server select "Requires an TLS/SSL connection" only if necessary
If you are using talk.google.com, please select "Requires an TLS/SSL connection" - In the 'Password' field, type the password for the account specified in step 6.
- Type a test IM user's address (e.g. atlassianbamboo@gmail.com NOT atlassianbamboo) in the 'Test Recipient Address' box. (Note: use a different user to the one you specified in step 6.)
- Click the 'Test' button, and verify that the message is successfully received.
- Click the 'Save' button.
Notes
Configuring Email and Instant Messaging Notifications
9 Comments
Juha Sadeharju
Mar 29, 2008Is there a way to get this working with Google Apps for Your Domain?
More specifically, I have a domain hosted by Google which also contains Google Talk. I can connect to it via any jabber client such as iChat by specifying the server as talk.google.com:5222 and using username@mydomain.com as the login name.
The instructions above might be valid for a plain gmail account, but don't work for GAFYD accounts. It produces a SASL authentication error.
Does anyone know whether there exists a workaround?
user-c7894
Apr 28, 2008I have the same issue - I believe that support for this scenario has to be implemented in their code.
The Google APIs allow you to specify your hosted domain when attempting to log in to the chat server, but Bamboo does't allow you to do that through its user interface.
+1 vote to add this feature.
bradical
Apr 29, 2009Hey Guys, I was wondering the same thing but I actually got it to work using the following
The trick for me was that the user who's sending the messages has to already be authorized to chat with the recipients otherwise it tends to sit indefinitely.
Anonymous
Oct 18, 2009This isn't working for me; it tells me the message was successfully delivered but it never shows up.
I als can't figure out anywhere how to determine what user is sending the messages (in order to authorize them).
Anyhow, I'm trying to get my own Google Apps Chat domain setup now following this guideline: http://www.google.com/support/a/bin/answer.py?answer=60227.
Andrew
Oct 19, 2009Hi,
Can I suggest raising a ticket in the 'Bamboo Support' project on our support system (https://support.atlassian.com/)? Our support staff will respond promptly to your request and you will be able to track the progress of your issue.
Kind Regards,
Andrew
Roy van den Broek
Mar 23, 2012I realize this is an old comment, but this might still be relevant for some users since it was for us. We managed to get it to work with the following configuration with Bamboo 3.4.4:
Anonymous
Jul 05, 2011This documentation is confusing. The Before You Begin section seems to say we should use host talk.google.com with port 5222 in our settings, but then the configuration steps say to use different settings? Anyway, we have Google Apps and the following settings worked for us:
Host: talk.google.com
Port: 5222
Username: bamboousername@mygoogleappsdomain.com
Resource: Bamboo
Requires an TLS/SSL connection: true
Force legacy SSL: false
Setting the host to mygoogleappsdomain.com might have worked if we had the proper SRV entries (http://www.google.com/support/a/bin/answer.py?answer=34143) configured for our domain, but we don't, so talk.google.com worked fine.
Sidenote--being forced to manually invite every committer who wants IM notifications to chat from the Bamboo account is annoying. How hard is it to make the Bamboo chat account automatically invite people who want IM notifications? I ended up writing a Perl script that used Net::XMPP to automatically invite people.
Anonymous
Mar 01, 2012When testing in Bamboo 3.4.3, I found that in step #6, username must be specified with @gmail.com domain
Przemek Bruski
Mar 14, 2012Thanks for pointing this out. Starting with Bamboo 3.4 the domain has to be there.