On the following page you have numerous setting options. You configure your project in six categories. Suppose you write a program in Java and want to use Continuous Integration. First, we will deal with source code management. The sample program is located in a Git repository on your computer (it is also possible to connect Jenkins to GitHub, for example). Therefore, enter the correct directory under the item "Git". You can also work with a Subversion.
The next step is to select the build trigger. This determines the situations in which Jenkins should start a build. This is possible, for example, by a special script of another program after another build has been completed, or regularly at certain time intervals. You can also trigger a build manually when you are ready - as we will do in our example.
The build environment that Jenkins lets you configure next contains more options around builds: Should it be aborted, for example, if the process hangs? Or do you want to print a timestamp in the console? None of the options are mandatory.
After all, it's all about the build: Here you determine what your program should be built with. Since you have already integrated connections to Ant and Gradle in the standard selection of plug-ins, you can choose one of these programs. However, it is also possible to use simple command line commands. Select the option for batch commands and let your program compile: