Applies to: JDeveloper 11.1.1.2+, OTPC 11.1.1.2+
Introduction
Since JDeveloper 11g does not provide integration with Hudson CI Server I came up with the idea to use the chat component of Oracles Team Productivity Center Plugin in combination with OpenFire (XMPP Server) and hudson ci on your build server with IM plugin. The main aim is to be able to start builds from the jdeveloper IDE and also get informed if a build currently is running.
Prepare
- Install OpenFire and create some test users + a user that acts as Hudson CI bot (See http://www.igniterealtime.org/projects/openfire/)
- Install Oracle Team Productivity Center Plugin in JDeveloper
- Install Hudson CI Server with the following plugins
- Instant Messaging Plugin
- Jabber Plugin
- Configure Hudson as follows (Hudson > Manage Hudson > Confgure System)
Test Drive
- Setup Build-Job with Hudson as follows
- Open JDeveloper and connect with open fire by clicking (View->Team->Chat)
Now try to start a build by entering
!build <jobname>
Benefits
- Keeps Focus on Coding in JDeveloper. And so => Minimizes human context switches!
- Developers get instantly informed by the chat what's going on on the build server
- Developers are able to schedule jobs from JDeveloper
- The status of Hudson is transparent for everyone as it appears in your buddy list. If not you immediatly know that there is something wrong: server down, hudson not running, etc..
Cool stuff!