jenkins the definitive guide

(Jeff_L) #1

Figure 2.12. Managing plugins in Jenkins


For now, just click on the Available tab. Here you will see a very long list of available plugins. Find
the Git Plugin entry in this list and tick the corresponding checkbox (see Figure 2.13, “Installing the Git
plugin”), and then scroll down to the bottom of the screen and click on Install. This will download and
install the Jenkins Git plugin into your local Jenkins instance.


Figure 2.13. Installing the Git plugin


Once it is done, you will need to restart Jenkins for the changes to take effect. To do this, you can simply
click on the “Restart Jenkins when no jobs are running” button displayed on the installation screen, or
alternatively shut down and restart Jenkins by hand.


That is all we need to configure at this stage. You are now ready to set up your first Jenkins build job!


2.5. Your First Jenkins Build Job


Build jobs are at the heart of the Jenkins build process. Simply put, you can think of a Jenkins build job
as a particular task or step in your build process. This may involve simply compiling your source code

Free download pdf