Jenkins
Install docker and docker-compose
https://docs.docker.com/compose/install/
Docker
Docker-compose
Create the docker group if it does not exist
Add your user to the docker group.
Install portainer
Install Jenkins
https://hub.docker.com/_/jenkins?tab=description&page=1&ordering=last_updated
install by docker-compose
Hướng dẫn setup jenkins
Get key
Tạo new project
Setup project url
Setup build triggers
Setup pipeline
Hoàn thành
Setup webhook github
Vào settings -> webhook -> Add webhook
Chọn Let me select individual events -> Chọn push và pull requests
Lưu ý url là url của jenkins + /github-webhook/
VD: https://8080-tuanvuprese-cicdjenkins-psx08fn83vn.ws-us47.gitpod.io/github-webhook/
Last updated