How to Install Git, Ruby and Jenkins on Windows

How to Install Git, Ruby and Jenkins on Windows

Here are supplemental instructions on expediting continuous testing by explaining how to install Git, Ruby and Jenkins on Windows.

This article provides supplemental instructions to the piece How to Expedite Continuous Testing. Specifically, it explains how to install Git, Ruby and Jenkins on Windows (as opposed to a Mac or Linux environment).

Download and install Git. For the most part, you'll select command-line setting, with the exception of Git command line stuff. In that case, select "use git from the Windows Command Prompt," as shown below.

Download and Install Ruby. (This installation was tested with Ruby 2.0.0-p481.)

Again, for the most part you'll use the default settings. When you get to following screen, use the settings as shown, adding Ruby to the PATH and associating .rb and .rbw files with the installation.

Add Ruby to the system path. Under Windows 7, this is Control Panel -> System and Security -> System -> Advanced System Settings. Click the Environment Variables button at the bottom right of the window, as shown below.

Because Ruby was added to the user path earlier, you should be able to copy the entry where Ruby was installed in user path and paste it at the end of the system variable for path.

Test and make sure the path is correct. To do this, open a command prompt and make sure you get results as shown for the following commands:

git --version

ruby -v

Download and install the Jenkins Window Installer. Open the Zip file. Double-click the Setup application; use all default settings. Jenkins will install and open in localhost:8080.

Install the GitHub Plugin and Green Balls Plugins as described above. (Both will automatically install the plugins they depend on as well.)

Keep in mind that your system isn't configured to run Ruby, Jenkins and Git under Windows.

Now that you've installed everything, return to the section of the tutorial entitled Install Jenkins Plugins to continue.

Join the CIO Australia group on LinkedIn. The group is open to CIOs, IT Directors, COOs, CTOs and senior IT managers.

Join the newsletter!


Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.

Tags softwareapplication developmentDevelopment toolsbeca

More about AdvancedLinux

Show Comments