How to Install the Git Plugin in an Azure Web App Hosted Jenkins Server

In my previous post I showed how you could install Jenkins in an Azure Web App.  In this post I will show you how to enable the Git plugin.

  1. Log in to your Jenkins server
  2. Click Manage Jenkins
  3. Click Manage Plugins
  4. Click Available
  5. Check Git plugin
  6. Check Git client plugin
  7. Click Install without restart

Once the plugins are installed, you will have to restart the Web App from the Azure portal.

  1. Locate the Web App in the Azure portal
  2. On the Web App blade click Restart
  3. Click Browse

Once your site is back up you will have to configure your Git plugin.  Git is already installed on the machine. However, the path to Git is not known to Jenkins. We simply need to let Jenkins know where to find git.exe.

  1. Click Manage Jenkins
  2. Click Configure System
    Field Value
    Path to Git executable D:\Program Files (x86)\Git\bin\git.exe
  3. Click Save

Now you can use Git in your builds.

Add comment

Loading