Posts

Showing posts with the label Jenkins

Jenkins - Adding Build Lights - Delcom 904008

Image
Adding a build light notification to your Jenkins server/setup can provide immediate visual feedback to your development team regarding application builds. The following is for setting up on a Windows machine and assumes you already have Jenkins installed locally or on a server. Required Hardware : Delcom USB HID Visual Indicator RGY - 904008, approx $90. Delcom 904008, RGY Required software: Ruby (1.9.3 or above)-  http://www.ruby-lang.org/en/downloads/ Delcom DLL -  http://www.delcomproducts.com/productdetails.asp?ProductNum=890510 delcom-util github project -  https://github.com/sfbishop/delcom-util  - modified to work with Jenkins Place the Delcom.dll in the same directory as the project.  You should be able to run the "xmas_led.rb" to confirm things are working correctly. Verification Once the software is installed plug in the USB light. Windows should install a driver. Verify in Device Manager: Note : If you hav...

SVN to Hudson/Jenkins - Repository Hooks

Image
While you can set Hudson/Jenkins to poll SVN at specific times an alternative is to let SVN inform Hudson when a new change has been committed to the repository. Requirements: You will need access to the server that hosts your SVN repository. You have a project setup and configured in Hudson. Adding the SVN Plugin The following Hudson plugin is installed, version 1.20 for this example. From the Hudson Console: Click Manage Hudson-Manage Plugins Ensure the Subversion Plugin is added. Adding the SVN Hook to SVN Once the plugin has been added its time to update the SVN hook. Using a text editor, VM or VIM edit the "post-commit" file in your SVN repository hooks directory. An example based on the "Oracle Virutal Developer Days VM" Repository directory: /home/oracle/labs/Dev_labs/svn_repos/otnvdd/hooks File: post-commit An sample "post-commit" file: Verify your changes: Once you have the SVN hook in place, its time to make a change ...