Lotus Sametime is an IM client from IBM.
Out of the goodness of his heart, Richard Lewis-Shell contributed the SametimeAnnouncementPublisher, which, oddly enough, publishes results via Lotus Sametime.
The SametimeAnnouncementPublisher depends upon IBM's Sametime SDK, which is not distributed with CruiseControl. As such, it is not compiled unless STComm.jar is in CruiseControl's lib directory at compile time. In order to use this publisher, you must compile CruiseControl from scratch.
- Get IBM's Sametime SDK (and extract it. Duh.)
- Get CruiseControl's source distribution (and extract it. Duh.)
cp ${sametimesdk}/client/stjava/bin/STComm.jar ${cruisecontrol}/main/lib
- ???
- Profit
At runtime, STComm.jar needs to live in ${cruisecontrol}/lib.
To use the publisher, you'll need to do something like this in your config.xml:
<plugin name="sametimeannouncement" classname="net.sourceforge.cruisecontrol.publishers.SametimeAnnouncementPublisher"/>
<publishers>
<!-- your other publishers here -->
<sametimeannouncement host="myserver" username="userToSendAnnoucementAs" password="secret" skipusers="true">
<always address="groupToSendAnnouncementTo"/>
<always address="userToSendAnnouncementTo"/>
</sametimeannouncement>
</publishers>
Does anyone really have this working? The documentation is a little light.....
I have put all of the Sametime 7.0 Java Toolkit jar files in my cruisecontrol.bat (I have also tried the 3.1 version)
Here's what I have in my config.xml
<sametime buildresultsurl="http://166.73.56.27:8080/cruisecontrol/buildresults/TestDaily"
host="166.73.58.160"
username="my_id"
password="my_password">
<always address="my_email" />
</sametime>
<plugin name="sametime" classname="net.sourceforge.cruisecontrol.publishers.SametimeAnnouncementPublisher"/>
I have also tried this by changing sametime to sametimeannouncement with the same results:
[cc]Jan-25 15:23:49 Main - Unknown plugin for: <sametime>
[cc]Jan-25 15:23:49 Main - Unknown plugin for: <sametimeannouncement>
What am I doing wrong?
For what it's worth, despite having to go through all of this rigamarole, I couldn't get it to work myself.
Oh, it SAYS it worked -- via the console & log -- but don't you believe it.