Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React + Jenkins + OpenShift Deployment

This project builds a React.js app, creates a Docker image, and deploys it to OpenShift using Ansible and Jenkins CI/CD.

Includes

  • React App (Create React App)
  • Dockerfile (Multi-stage with Nginx)
  • Jenkinsfile (Pipeline for build, Docker, Ansible)
  • Ansible Playbook (OpenShift deployment)

Setup

  • Configure Docker Hub credentials in Jenkins as docker-hub-creds
  • Use Jenkins node with Docker, Node.js, Ansible installed
  • Set OpenShift token and server in environment variables: OPENSHIFT_TOKEN, OPENSHIFT_SERVER

src/ ├── App.js ├── index.js ├── components/ │ ├── Header.js │ ├── Footer.js │ └── Home.js ├── pages/ │ ├── About.js │ └── Contact.js ├── styles/ │ └── App.css

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages