The next step is to configure a source code repository with the build job. We will use the open source Spring application hosted on GitHub, as explained in the previous chapter:
After that, we will get a URL similar to https://github.com/mitesh51/spring-petclinic .
Create a GitHub account and fork repository from https://github.com/spring-projects/spring-petclinic .
Install Git on a virtual machine using the instructions available in the documentation: Getting Started - Installing Git ( https://git-scm.com/book/en/v2/Getting-Started-Installing-Git ). To download a Windows application navigate to https://git-scm.com/ and click on Downloads for Windows.
Let's generate a new SSH key to use for authentication. Open a terminal on a CentOS virtual machine with Git installed.
ssh-keygen -t rsa -b 4096 -C "[email protected]", substituting your GitHub e-mail address.
Press Enter when you are prompted with Enter file in which to save the...