Create React CI/CD pipeline using Jenkins, Ansible and Docker (Part 1)

Опубликовано: 01 Июнь 2026
на канале: Devops and Cloud Computing Training
17,317
141

During this lab i covered all the steps that will enable you to create the CI/CD pipline for you react app using jenkins as our automated server to build our artificats and ansible to run some commands on our remote servers. i used the publish over ssh as post-build action because it enable us to transfer files and run commands on the remote host. i used dockerhub as an intermediate where i built the docker image for the published artifacts from jenkins on the ansible localhost and i pushed it to dockerhub; then i pull it on the docker server via executing ansible play book that run commands on the remote docker server for that. the built image use the nginx base image that where i have copied all the files that are within the build artifacts folder to the /usr/share/nginx/html directory on the nginx container server
Github repo: https://github.com/Abdelali12-codes