Inaugural London Jenkins Area Meetup #jenkinsldn

Personal
London Jenkins Area Meetup I have had lot of fun organising London Jenkins area meetup at ThoughtWorks London office in Soho. I would like to thanks ThoughtWorks for sponsoring first ever London Jenkins meetup. There was massive crowd of Jenkins users all over London. The meetup had following agenda •  Registration, Networking with Pizza Beers started 6 pm onwards at ThoughtWorks office. Srinivas from ThoughtWorks has arranged everything there, big thanks to him. •  Announcement: 7pm •  Talk : Jenkins 2.0 by James Nord  : 7:05pm •  Twitter Competition:  Giveaway : Jenkins t-Shirts and Stickers:  8:00 pm I kicked off meetup with brief introduction of the Jenkins area meetup and what topics we going to cover in the future Then James Nord from CludBees given a talk on Jenkins 2.0,…
Read More

My Contribution to Jenkins 2.0 Press Release

Personal
Jenkins 2.0 Hope you are enjoying new and shiny features of Jenkins 2.0 since it's release. The press release is on Businesswire here . New feature include • Pipeline as Code  • Improved User Interface and User Experience  • Security & plugin Enhancements  • New Jenkins WebSite as one stop for getting started guide You can find out blog post from Kohsuke here about the release. In this post, I will cover my contribution to the release of Jenkins 2.0 project. Quote for the Press Release The full press release has published on BusinessWire on 26th April, detailed information of the Jenkins 2.0 feature. Business Wire, a Berkshire Hathaway subsidiary, is a company that disseminates full-text press releases from thousands of companies and organizations worldwide to news media, financial markets, disclosure systems,…
Read More

Get started with brand new Jenkins 2.0 with Docker

Automation, DevOps
Jenkin 2.0 The new version of the Jenkins a.k.a Jenkins 2.0 will be released very soon. Jenkins 2.0 will be bringing us some new amazing features. Pipeline as Code  Improved User Interface and User Experience  Security & plugin Enhancements  New Jenkins WebSite as one stop for getting started guide The detailed information about the new release can be found out here In this post, let's try out new version of the Jenkins with it's own Docker image. Jenkins inside Docker The fastest way to get started is getting the docker image and run containers. The CloudBees has already created a Docker image jenkinsci/jenkins with tag of '2.0-beta-2'. Assuming that, you have Docker ToolBox or similar setup on your machine, you can get the latest image. You can follow my previous post on practical…
Read More

Javascript Coverage & Continuous Integration with Jenkins, QUnit and Grunt

Automation, BDD
QUnit and Grunt QUnit is a powerful a javascript unit testing framework. Like other unit testing frameworks, it would be quite useful to measure code coverage of the JavaScript code using some modern code coverage tools. Grunt is a javascript task runner. Like other build tools Rake, Ant, maven, phing, Grunt is a build tool for JavaScript tasks. In this short post, we will see how to setup continuous integration  for JavaScript code coverage using Grunt and other useful grunt plug-ins. I have forked source-code of  "Qunit-Demo-Advance" from GitHub. Source-Code for this demo is available on GitHub " Modern-Toolkit" repo. Grunt plug-ins used in this Demo are grunt-qunit-junit : To display JUnit style JS reports on Jenkins grunt-istanbul : To code coverage for JavaScript Code.  Configuration Pre-requisite: You have nodeJS and npm installed Assuming…
Read More

PHP Continuous Integration Template using Composer and JenkinsCI

Automation
PHP-Jenkins Template Jenkins is a very popular Continuous Integration tool these days and using it with PHP project is became so easy with help of Jenkins-PHP  template  project. This project gives us ultimate guide to get started with basic setup of the PHP related tools and Jenkins plugins. You can install Jenkins on various platform, in my old blog post 'Adventures with JenkinsCI on Mac OSX and Linux' we have covered Jenkins installation. I got my JenkinsCI instance running on Mac OSX [http://localhost:8080] Install Jenkins-PHP Plugins Let's now install basic Jenkins plugins using Jenkins-CLI. In iTerm type following commands to install these required plugins: [crayon-58a985f3a04af855772306/] Here are some more useful plug-ins like phing, Ruby, RVM, PHP and Rake. You can install and restart Jenkins. [crayon-58a985f3a04bf337721674/] Now, you should see something…
Read More

[Re]-Installing Jenkins on OSX Mavericks

Automation, BDD
Jenkins Installation Jenkins is the best Continuous integration tool in the Market. Jenkins is so popular because of hundreds of plug-ins that user can use to configure Job. Hope you have upgraded your OSX to Mavericks and lost your existing Jenkins installation. I have written blog post few months back about 'Installing Jenkins on Mac OSX', at that time it was OSX Mountain Lion. Jenkins on OSX- Mavericks Download Jenkins Package for Mac OSX from Jenkins official website. If you try to install package and got this error.   You need to tweak security settings in your Mac OSX. Go to Preferences-> Security & Privacy and 'Allow apps downloaded from; to anywhere Now, you can download and install Jenkins. Once you followed all the instructions on your screen you can…
Read More

Launching Jenkins Slaves on the fly.

Automation
Jenkins Master-Slave Architecture Jenkins is a awesome Continuous Integration tool which allow you to add multiple slaves as per your project requirement . Working in the distributed environment, we need different machine for different purpose. We might need Ubuntu machines to do specific tasks, CentOS machines to perform additional task and so on. While thinking Continuous Integration in cross-browser and cross-platform environment, you must have master slave architecture of Jenkins. You have master mode and millions of slaves running under it (not millions though :)). You can read more about adding multiple slaves here. Let's say your master node is running on http://master-yourawesomedomain: 8080 Next step is to add few machines as a slave in the same data center. You must have to make sure that your master can ssh…
Read More

Adventures with Jenkins CI on Mac OSX & Linux

Automation, BDD
Abstract: In an agile software development, Continuous integration became integral part of agile process and agile team won't be considered as effective without effective and visible continuous integration(CI). Continuous integration server runs automated test after each time developers check-in into the source code repository and notify team in case build failed. Continuous integration won't allow developers to build legacy code which in turn increase technical debt. Continuous integration helps a lot in quality of the product. [caption id="attachment_835" align="aligncenter" width="300"] Continuous Integration[/caption] Jenkins: Jenkins is a most popular continuous integration tool. Jenkins has been developed and maintained by Kohsuke Kawaguchi who is currently working at cloudbees. Jenkins became so powerful CI server due to it's nice looking web interface and it's hundred's of plugins. In this short tutorial, we will…
Read More