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.

This story, "How to Install Git, Ruby and Jenkins on Windows" was originally published by CIO.

From CIO: 8 Free Online Courses to Grow Your Tech Skills
Join the discussion
Be the first to comment on this article. Our Commenting Policies