Dashboard > CruiseControl > CruiseControl and Lotus Sametime
CruiseControl and Lotus Sametime Log In View a printable version of the current page.

Added by Srinivasan Ranganathan , last edited by Chris Ciulla on Jan 29, 2008  (view change) show comment
Labels: 
(None)

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.

  1. Get IBM's Sametime SDK (and extract it.  Duh.)
  2. Get CruiseControl's source distribution (and extract it.  Duh.)
  3. cp ${sametimesdk}/client/stjava/bin/STComm.jar ${cruisecontrol}/main/lib

  4. cd ${cruisecontrol}/main

  5. ant all

  6. ???
  7. 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.

Powered by a free Atlassian Confluence Open Source Project / Non-profit License granted to ThoughtWorks, Inc.. Evaluate Confluence today.
Powered by Atlassian Confluence 2.7.1, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators