Tag Archive for 'jenkins'

Page 2 of 3

Advanced Subversion Polling with Jenkins: File Fingerprints

In ‘Polling Subversion with Jenkins’ we showed you how to configure Jenkins to poll an Apache Subversion repository once every five minutes. In this follow-up post, we’ll explore some advanced options you can introduce once you’ve implemented the basic polling system. This post will show you how to configure Jenkins to automatically track versioned files using ‘file fingerprinting.’

In the world of modern software development, it’s common practice to work on different projects simultaneously. With so much going on, it’s easy to lose track of where files originated, and what version is being used by which project. Thankfully, Jenkins supports file fingerprinting, which allows you to see exactly when and where your files are being produced and used, and even to upload a file from your local machine and query Jenkins on its version number. File fingerprinting works by creating a database of MD5 checksums, which gets updated automatically as new versions of fingerprinted files are committed to the repository.

How To: Setup File Fingerprinting

1. To enable file fingerprinting in uberSVN, simply select the ‘Jenkins’ tab, followed by the Jenkins job you previously setup to poll Subversion.

2. Select the ‘Configure’ option from the left-hand menu.

3. Tick the ‘Record fingerprints of files to track usage’ option.

4. Specify the files to track in the ‘Files to fingerprint’ text box. In this example, trunk/*.txt will track all .txt files in the trunk (if you wanted to track all .zip files in the tags directory, you would use tags/*.zip)

How To: Test Your File Fingerprinting

1. To test your setup, make some changes to the files earmarked for fingerprinting, and commit those changes.

2. Open the build report in Jenkins, and select ‘See Fingerprints’ to view the recorded fingerprints.

3. This screen will display some basic details about the tracked files, including the original owner, and how old the information is. To see more, click on the ‘more details’ link.

4. On this page, you can see all the jobs and builds where the file has been used.

How To: Check File Fingerprint

Another benefit of enabling file fingerprinting, is that if you have a file on your local machine but are unsure of its version number, you can upload it to Jenkins and check the fingerprint against Jenkins’ fingerprint database.

1. Start by selecting the ‘Check File Fingerprint’ option from the main Jenkins dashboard.

2. Upload your file and select ‘Check’ to run it against Jenkins’ database of file fingerprints.

3. Jenkins will then display all the information about the uploaded file.

Not yet started with uberSVN? It’s free to download and free to use! You can download the latest version now from http://www.ubersvn.com/ If you need some extra support with your Jenkins+uberSVN installation, Professional Support for Jenkins is also available.

WANdisco Attends Jenkins User Conference

The Jenkins User Conference took place in New York yesterday, and members of the WANdisco team were lucky enough to be at the event. The Jenkins User Conference brings Jenkins experts and community enthusiasts from around the world together for a full day of learning and networking opportunities, focused on the popular open source continuous integration server.

The WANdisco team had a great time attending the different sessions, which covered all the latest and greatest Jenkins technology and best practices, and featured hands-on workshops and demos.

We’re all big fans of Jenkins at WANdisco, and are looking forward to putting what we’ve learned into practice – thank you to CloudBees and of course, the Jenkins community, for putting on such a great event!

As a proud CloudBees partner, not only did we attend JUC NY, but we’re sponsoring two of the conferences. “We are thrilled to have WANdisco join CloudBees and the other sponsors in supporting the Jenkins community,” said Kohsuke Kawaguchi, creator of Jenkins.

Missed out on all the fun? Team WANdisco will also be attending the San Francisco JUC in September. We’re looking forward to meeting even more of the Jenkins community (and maybe even some of the Jenkins+uberSVN community) then!

Subversion Tip of the Week

Extending Jenkins and uberSVN

uberSVN makes Jenkins easy to install, but the standard installation contains only the bare minimum needed by the average developer. At some point, you will want to extend your uberSVN and Jenkins installation with additional plugins. Thankfully, this is made easy in uberSVN.

1) Start by clicking on the ‘Jenkins’ tab in uberSVN. From here, select the ‘Manage Jenkins’ option followed by the ‘Manage Plugins’ option.

2) Select the ‘Available’ tab and check the tick boxes of all the plugins you wish to install.

3) Once you have selected all the plugins you wish to install, scroll to the bottom of the page and hit ‘Install.’

4) The plugin will now be downloaded. Note that Jenkins will need to be restarted for these changes to take effect.

Our Support Engineers are the Sherpas of Source Control Management! Just as traditional Sherpas use their deep knowledge of local terrain to assist mountain climbers in reaching the highest peaks and avoiding pitfalls along the way, WANdisco’s Subversion Sherpas use their extensive experience to guide customers away from problems and enable them to get the most out of Subversion. Our ‘Team Sherpa’ consists of highly skilled support engineers and core Subversion developers who have been working on the Subversion project since it began, and are also uniquely positioned to help you migrate to the latest and greatest releases of SVN. You can hire one of our Subversion Sherpas today, by visiting http://www.wandisco.com/subversion/support

9 Ways to Dominate Development with Jenkins

Last month, we were proud to co-host another free training webinar with our friends at CloudBees. ‘9 Ways to Dominate Development with Jenkins’ was presented by WANdisco’s Director of Training, Mike Lester, and CloudBees’ Elite Developer and Architect, Ryan Campbell. Mike covered the essentials of setting up Jenkins through uberSVN, the free, open ALM platform for Apache Subversion, before CloudBees’ Ryan Campbell shared a grand total of nine best practices for using Jenkins with uberSVN.

The tips included how best to backup the Jenkins continuous integration server. Webinar attendees were shown how to locate their configuration data in the $JENKINS_HOME directory. The location of this directory varies depending on how you install Jenkins, but in uberSVN you can check this using the Configure Systems screen. To access this screen, simply click on ‘Manage Jenkins’ in the Jenkins tab of uberSVN.

From here, select the ‘Configure Systems’ option.

This will take you to the all-important Jenkins Home directory, which contains the data you will need to backup.

Webinar attendees also learnt that it’s possible to create a backup while Jenkins is running, as Jenkins makes changes atomically to the cloud system. Whenever you change your configuration, Jenkins writes that configuration file to a temporary file and then moves it over atomically at the operating system level, which means creating a backup of a live Jenkins installation isn’t a problem.

The webinar also shared advice for planning disk capacity for Jenkins, the benefits of native installers, adding additional distributed builds to your Jenkins instance, and more.

Missed the webinar the first time around? The good news is that the entire webinar replay is now available to view on-demand, from our Webinar Replay page. And, if you enjoyed ‘9 Ways to Dominate Development with Jenkins,’ you can sign up for more of our upcoming webinars at http://www.wandisco.com/training/webinars.

WANdisco: Proud Sponsor of the Jenkins User Conference

If you’re a Jenkins user (or even an uberSVN+Jenkins user!) you will no doubt already have heard about this year’s Jenkins User Conference series. After the massive success of 2011’s single event, in 2012 the conference has become a series of events that will take place in six cities: Paris, New York, San Francisco, Antwerp, Tokyo, and Herzelia, Israel.

The Jenkins User Conference brings together Jenkins experts and enthusiasts from around the globe, for a full day of Jenkins-focused learning and all-important networking opportunities. As a proud CloudBees partner, we are excited to announce that WANdisco is an official sponsor of two of this year’s Jenkins User Conferences.

“The Jenkins community has embraced the Jenkins User Conferences for the opportunities they provide to meet other users, face-to-face. The learning offered by informal networking and formal sessions is terrific. It helps users increase their Jenkins knowledge, allowing them to make even better use of continuous integration,” said Kohsuke Kawaguchi, Jenkins creator and elite architect at CloudBees. “We are thrilled to have WANdisco join CloudBees and the other sponsors in supporting the Jenkins community.”

Not only is WANdisco an official sponsor of two of this year’s Jenkins User Conferences, but the WANdisco team will be attending the San Francisco conference on September 30th.

We’re looking forward to meeting the Jenkins community, and our experts will be on-hand to answer all of your questions about uberSVN, using Jenkins with uberSVN, or anything else we can help out with! We’ll also have plenty of freebies to hand out, so if you’re attending the San Francisco event, be sure to hunt out the WANdisco table.

If you’d like to check out our Jenkins integration before the conference, uberSVN is free to download and free to use, simply visit http://www.ubersvn.com/download now to get started.

For more information about the 2012 Jenkins User Conferences or to register, go here.

Subversion Tip of the Week

Admin Best Practices

Apache Subversion users have the freedom to structure their repository according to a project’s particular needs, but if you don’t implement a logical project layout, you’re running the risk of creating an administrative nightmare. Here are some general rules worth bearing in mind when creating a new Subversion repository, to ensure all that freedom doesn’t lead to complications.

  • The code in the trunk should be stable – all experimental development should be confined to separate branches.
  • Consider CI and automated regression testing – these can help ensure there is no regression in the all-important trunk. uberSVN users can download the popular Jenkins open source CI server for free from inside their installation.

  • Make snapshots of your project – tags should be used to make snapshots of your project at certain points during the development process (e.g tagging a snapshot as ‘Release 1.0.’) It is also good practice to make snapshots of your project before implementing major new features. This makes it easier to roll back and effectively ‘undo’ the new feature, if required.
  • Take care when making structural changes – structural changes should always be performed on the trunk, when there are no branches waiting to be merged. This can help development teams avoid serious and time-consuming conflicts.
  • Use changelists – if you are working on several different issues simultaneously, there is a risk of losing track of which files relate to which issue. In these situations, it can be helpful to organize your files into ‘Changelists.’ Changelists can be created either from the commit dialog, or the ‘Check for modifications’ dialog. In this example, we’ll look at creating a changelist from the commit dialog:

1) Highlight the files you wish to place into a changelist, right-click and select ‘Move to changelist.’ In this example, we’ll be creating a new changelist.

2) Enter a name for your changelist and select ‘Ok.’

3) Your modified files will now be automatically organized according to the new changelist. This allows you to see at-a-glance, which modifications have been made for each task, and to commit these changes separately.

WANdisco’s April Roundup

Happy spring! As well as enjoying the warmer weather, everyone at WANdisco has been busy creating and launching a completely redesigned WANdisco.com. We think you’ll agree, it’s a major improvement on our old website:

With this update, we’ve concentrated on making the WANdisco website easier to navigate, and easy to use, with a section dedicated to what WANdisco is all about. Feedback? Suggestions? As ever, please don’t hesitate to contact us – we’re all dying to know what you think about the new-look WANdisco.com.

This month, we were lucky enough to co-host a webinar with our friends at CloudBees. ‘9 Ways to Dominate Development with Jenkins’ taught attendees nine Jenkins best practices that can be easily implemented to make your life – and the life of your team – easier. As if that wasn’t enough, the following week industry expert Adrian Bridgwater co-hosted our ‘Introducing Subversion Access Control 4.1’ webinar, looking at what’s new and noteworthy in the 4.1 release of our security product for Enterprise Subversion. We’re always announcing new webinars for the Subversion community – keep checking our Free Subversion Training Webinars for the latest information.

Users of Subversion’s 1.6 series got an update this month, with the release of Subversion 1.6.18. The full list of what’s new and noteworthy in this release is available in the Changes file and the binaries can be downloaded for free from our website. What’s more, uberSVN users can easily toggle between the latest 1.7 releases of Subversion and 1.6.18, using uberSVN’s ‘SVN Switch’ functionality.

There have also been major changes to uberSVN, the free, open ALM platform for Apache Subversion. With the release of 12.4 ‘Chimney House,’ uberSVN officially came out of beta! A massive thank you to everyone who has downloaded, deployed, and provided feedback on the beta release – we couldn’t have done it without you! As well as taking us out of beta, the 12.4 release introduced many new features, including:

  • New plugin API architecture and core upgrade that allows WANdisco registered plugins to work with uberSVN. We’re particularly excited about this one, as it lays the foundations for future uberSVN SDK releases.
  • Subversion Access Control’s 4.1 LDAP functionality (apart from some advanced features linked directly to Access Control) has been integrated into uberSVN’s ‘Default LDAP’ tab (accessible through the ‘Administration’ section.) This is the feature uberSVN users have requested the most.
  • A new file upload function has been added to the uberSVN Updates tab. This allows us to hand build updates for installations, push updates to users who aren’t connected to the internet, and deliver specialist packages to specific installations.
  • A new option to subscribe to our Latest Release Channel or wait for us to deliver fixes highlighted by our early adopters in a Stable Release Channel. Set your preference within uberSVN.
  • Plus, the usual list of bug fixes, including updates to the activity feed posts.

And, as is tradition, we’re all looking forward to celebrating the release of uberSVN Chimney House, in the venue it’s named after – The Chimney House at Kelham Island, Sheffield.

And in other uberSVN-related news, uberSVN turned one this month! uberSVN, the free, open ALM platform for Apache Subversion is now officially one year old. It’s hard to believe uberSVN has only been around for twelve months: not only has this unique, SVN-based product already been awarded the Made in Sheffield mark and Business IT Innovation of the Year medal, but it’s received a positive response from the community, and fantastic reviews by the IT media. We celebrated with some very special uberSVN cupcakes made by our friends at Fancie. We’re sure you’ll agree, they did a brilliant job!

Thank you for all your support over the past year – and happy birthday, uberSVN!

uberSVN Turns One: What’s Next for uberAPPS?

uberSVN is one year old!

It’s been a great first year for uberSVN, the open ALM platform for Apache Subversion. Not only has this unique, SVN-based product been awarded the Made in Sheffield mark and Business IT Innovation of the Year medal, but it’s received a positive response from the community, as well as some fantastic reviews by the IT media. But, one of the things we’re particularly proud of, is our uberAPPS store. Since it was launched in July 2011, the partnerships and exciting new apps have just kept on coming!

To celebrate uberSVN’s first birthday, we’ll take a look at all of the apps uberSVN users can now get their hands on, simply by visiting the integrated uberAPPS store.

Jenkins

Jenkins is an easy-to-use, continuous integration system that makes it easy to manage and control an application development lifecycle, focusing on build, documentation, testing, and packaging. Using Jenkins with uberSVN has a long list of benefits, including:

  • Easy installation and configuration.
  • Monitor build results by RSS or e-mail to receive real-time notifications on failures.
  • JUnit/TestNG test reporting.
  • Plugin Support: WANdisco approved Jenkins plugins (coming soon!)

Jenkins & uberSVN Professional Support

Need some extra support for your Jenkins + uberSVN installation? Professional Jenkins Support can be purchased easily from inside the uberAPPS store. Our support staff are fully trained Jenkins experts, and we pride ourselves on ensuring that you get the most out of your Jenkins deployment. Or maybe you’re just after Professional Support for uberSVN? We’ve got this covered too! uberSVN support includes:

  • 24-by-7 online, phone and email support.
  • Guaranteed response times.
  • Automated delivery of fixes and upgrades.
  • Global coverage from the US and Europe.

uTest Express

The world’s largest marketplace for software testing services is also accessible through uberSVN! uTest makes it easy for uberSVN users to get their apps professionally tested under real-world conditions, by offering a range of testing types for web, desktop and mobile apps across all the major operating systems. With each uTest project, you’ll receive detailed bug report with screen captures and steps to reproduce the issues; step-by-step results for each testing task you define; and expert feedback on the design, performance and functionality of your app.

uberSVN Starter Pack

A convenient, lightweight support option for uberSVN users who require something more than the community support available for free at our forum, but who do not wish to commit to a termed Subversion or uberSVN Support contract. Our uberSVN Starter Pack is an entry level support service that’s designed to bring tricky support cases to a speedy conclusion. Our uberSVN Starter Packs are the perfect option for small businesses who are looking for a very flexible, pay-as-you-go model.

TortoiseSVN Support

In a perfect world, you’d never need a support contact and everything ‘just works,’ but no software is perfect, and we pride ourselves on keeping your business running smoothly. We provide a ‘safety net’ for TortoiseSVN users, allowing you to gain access to experts whenever you need them, to ensure that your mission critical services have the maximum available uptime.

Subversion Health Check

Rolling out, implementing and supporting Apache Subversion can be challenging if you or your team do not have much experience of managing Subversion environments. There’s a lot to think about. Our less experienced customers usually need some crucial questions answering, before they move forward with Subversion. WANdisco’s Subversion Health Check service provides a pre-implementation or post-implementation audit of your Subversion environment and we’ll work closely with you to recommend the best business strategies for deployment and growth, whilst lowering the cost of maintaining your environment.

Time-Based Consultancy

With our Time-Based Consultancy package, we’ll endeavor to answer all of your questions and guide you through the implementation phase. In some cases, we may even be able to write your code for you. Everyone’s Time-Based Consultancy package will be different, but some of the areas we commonly cover include:

  • Hook script development
  • Performance issues
  • Scalability
  • Backup and recovery
  • Security
  • ……and more!

What does the future hold for uberAPPS?

Put simply: more apps! With apps such as SmartSVN, Jenkins plugins, Assembla, and Sonar still to come, we’re confident that uberAPPS will become the place to go for all your ALM needs.

Is there an app that’s seriously missing from uberAPPS? Or a feature you would like to see added to uberSVN? Please don’t hesitate to contact us with your feedback or use the uberSVN:Suggestions forum, and help us make the next twelve months as successful as uberSVN’s first year!

Happy Birthday uberSVN!

uberSVN is one year old! It’s been a great first year for uberSVN, the open ALM platform for Apache Subversion. Not only has this unique, SVN-based product been awarded the Made in Sheffield mark and Business IT Innovation of the Year medal, but it’s received a positive response from the community, as well as some fantastic reviews by the IT media. To celebrate uberSVN turning one year old, we’ll be making an exciting announcement later this week – keep checking back for all the latest info! But for now, we’ll take a look back at everything that’s happened over the past twelve months.

Happy first birthday, uberSVN!

April 21st, 2011uberSVN is born! uberSVN is released with the first ever social coding environment for Apache Subversion. Subversion users now have the freedom to build their own complete, ALM solution from the open and closed source components of their choice.

June 1st, 2011Subversion 1.6.17 is released. These binaries are available through uberSVN, as soon as 1.6.17 is released.

July 14th, 2011Professional support for uberSVN is launched, meeting the needs of large development organizations who want to use open source software, but require the security provided by a commercial software support contract.

July 26th, 2011 – The uberAPPS store opens for business! uberSVN users can now enjoy easy one-click deployment with automatic updates, from all of WANdisco’s uberAPPS partners.

July 27th, 2011Jenkins comes to uberSVN through the uberAPPS store. Jenkins is an easy-to-use, continuous integration system to manage and control the application development lifecycle, including build, documentation, testing, and packaging.

August 16th, 2011 – uberSVN is awarded the prestigious ‘Made in Sheffield’ mark. “We take great pride in the fact that WANdisco has been awarded the Mark for uberSVN and that Sheffield is promoting the 21st Century diversity and excellence of companies based here,” says David Richards, WANdisco’s CEO.

August 19th, 2011uberSVN is released for Mac OS X.

October 11th, 2011Subversion 1.7 is released. This is major step forward for the Subversion community, and 1.7 is available through uberSVN on the day of its released.

November 14th, 2011 – uberSVN is awarded a medal for Business IT Innovation of the Year. “Receiving a medal at the BCS & Computing UK IT Industry Award is another great achievement, in what has been a fantastic year for both uberSVN and WANdisco,” says David Richards.

December 5th, 2011 – Another Subversion update arrives! Subversion 1.7.2 is available through uberSVN, on the day of its release.

December 15th, 2011 – uberSVN 11.12 is released, and we announce our codenaming strategy. Apple name their releases after big cats and Google name their releases after desserts, but since uberSVN is developed entirely in Sheffield, UK, we decide to show our support for the local area and name all of our releases after local pubs. uberSVN is codenamed ‘Blake,’ and we have a great night out at the Blake pub in Walkley, UK, to celebrate the release.

January 18th, 2012uTest comes to uberSVN! We announce a new partnership with our crowdsourcing friends, uTest. “We’re excited to join forces with WANdisco and make our service seamlessly available to the thousands of enterprises that rely on uberSVN’s free ALM platform for app development,” says Matt Johnston, CMO of uTest.

January 30th, 2012Professional Jenkins support comes to uberSVN, in cooperation with our friends at CloudBees. “We’re thrilled to be working with WANdisco to support uberSVN users in getting the most out of Jenkins,” says Steven G. Harris, senior vice president of products at CloudBees.

February 9th, 2012 – Two apps are released on the same day! Professional support for TortoiseSVN can be purchased from directly inside your uberSVN installation. We also launch uberSVN Starter Packs, a convenient, lightweight support option for uberSVN users.

February 13th, 2012Subversion 1.7.3 is released, and once again, the latest binaries are immediately available through uberSVN.

March 8th, 2012 – The Subversion community announce version 1.7.4. Once again, the binaries are immediately available through uberSVN.

March 16th, 2012 – Our friends at uTest announce a very exclusive offer especially for the uberSVN community: Bronze uTest Express packages are free for the next 30 days!

This has been a great first year for uberSVN’s community of users, developers, and contributors. Thank you to everyone who got involved! And happy birthday, uberSVN!

Subversion Tip of the Week

Structuring Your Repository

Implementing a logical project layout in Apache Subversion right from the beginning, can save you from administrative hell later. Here are some general rules worth bearing in mind when creating a new Subversion repository, to ensure all that freedom doesn’t lead to complications.

  • The code in the trunk should be stable – all experimental development should be confined to separate branches.
  • Consider continuous integration and automated regression testing – these can help ensure there is no regression in the all-important trunk. uberSVN users can download the popular Jenkins open source CI server for free from inside their installation.
    • Make snapshots of your project – tags should be used to make snapshots of your project at certain points during the development process (e.g. tagging a snapshot as ‘Release 1.0.’) It is also good practice to make snapshots of your project before implementing major new features. This makes it easier to roll back and effectively ‘undo’ the new feature, if required.
    • Take care when making structural changes – structural changes should always be performed on the trunk, when there are no branches waiting to be merged. This can help development teams avoid serious and time-consuming conflicts.

    Mike Lester is WANdisco’s Director of Training. Mike has more than 33 years of experience in the software industry, having spent the past 26 years focusing on training and consulting for Subversion and other software configuration management systems. Mike delivers WANdisco’s free training webinars, and regularly shares his SVN know-how at the WANdisco blog. Mike is also available for Enterprise Training.