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.
- Log in to your Jenkins server
- Click Manage Jenkins
- Click Manage Plugins
- Click Available
- Check Git plugin
- Check Git client plugin
- Click Install without restart
Once the plugins are installed, you will have to restart the Web App from the Azure portal.
- Locate the Web App in the Azure portal
- On the Web App blade click Restart
- 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.
- Click Manage Jenkins
- Click Configure System
Field | Value |
Path to Git executable | D:\Program Files (x86)\Git\bin\git.exe |
- Click Save
Now you can use Git in your builds.