What is the requirement to use Jenkins

Jenkins: Tutorial for the CI tool

On the next page you have numerous setting options. You can configure your project in six categories. Let's say you are writing a program in Java and you want to use continuous integration. We'll deal with that first 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). You should therefore enter the correct directory under “Git”. You can also work with a Subversion.

In the next step, choose the Build trigger out. This defines in which situations Jenkins should start a build. This is possible for. B. by a special script of another program after another build has been completed, or regularly at certain time intervals. However, you can also manually trigger a build when you are ready - which we will also do in our example.

The Build environmentthat Jenkins lets you configure next contains other build-related options. B. aborted if the process hangs? Or would you like to have a timestamp output in the console? None of the options are required.

After all, it's directly about that Build: Here you specify 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 as follows: