How should I go about using Jenkins on my server to automate project builds ?

Hello, I am posting this thread because I was wondering about something.
Basically I own a linux server where I have a docker-compose setup where I both have a gitea instance and a jenkins instance, In the gitea there is a git repository with my unreal engine project.

I would like to be able to setup Jenkins so that it automates the build process of my game everyday, however I can’t really find how to go about it, it is pretty easy for simple c++ projects etc but for unreal engine projects it seems like a more difficult task.

I tried to look around and the only documentations I found assumed we were on windows an had unreal engine installed on the machine