Job xml added to master and triggered during startup via client container, job build and push Dockerfile with kotlin.
Install it via pkg manager
docker
docker-compose
Clenup docker volumes and run docker compose (client container will exit with non zero if job already exists)
./RUN_ME.sh
Check script output https://pastebin.com/JuHf4cGh
docker-compose up --build
It will run jenkins master on http://localhost:8080, creds are (could be changed in compose file):
user: a_user
passsd: a_pwd
as well as jenkins_cli container, it will download jar client from master, add job via jenkins-cli and trigger this job.