https://dev.to/andresfmoya/install-jenkins-using-docker-compose-4cab https://www.youtube.com/watch?v=Z3S2gMBUkBo
git config --global user.name "ranjitburgute"
git config --global user.email "[email protected]"
git config --global --list
docker-compose --version
mkdir ~/Jenkins
docker compose -f jenkins-docker-compose.yml up -d
docker exec jenkins cat /var/jenkins_home/secrets/initialAdminPassword
Install Jenkins plugin: "GitHub Integration plugin"
ssh -R 80:localhost:8081 [email protected]
GitHub Project - Project url: https://github.com/ranjitburgute/SpringConfig/ Git -> Repositories -> Repository URL: https://github.com/ranjitburgute/SpringConfig.git Build Triggers: GitHub hook trigger for GITScm polling
Repositories -> Settings -> Webhooks PayLoad url: https://1e071ba9b5f170.localhost.run/github-webhook/' Just the push event Active