There are a lot of tutorials, but each covers only part of the process, I can not find a simple and understandable for a beginner, covering the whole process.
What I want:
There is a Java application (moreover, it can be either a web application launched in the same Tomcat, or a regular console application or library compiled into a jar)
Unit and integration tests are written.
The application is going to gradle.
Deploy an Artifactory with a repository where I want to deploy the builds.
Actually the process that I want to set up:
At each push on the server unit-tests, integration tests are run, the code coverage by tests, codestyle, etc. is analyzed.
If everything is good, the assembly is deployed in the Artifactory, and also (if the application is a web), it is updated and restarted on the dev server.
Or to have some page, which is a table: download link - commit message (for example: http://abrok.eu/stockfish/ )
If something went wrong, the response with the description comes in the mail (for example)
It would be great to see the tutorial from scratch, when a helloWorld Java project is created, how Jenkins is configured, what happens when a commit is made, etc. Those. tutorial, where java code is written and changed simultaneously with the Jenkins setting.
It may not be necessary to completely describe the process I described, but some tutorial that simplifies the development process (change, writing tests, commits) a java application with jenkins running.