Skip to content

pratikshabade09/CICD

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CICD Hands On

Installation

Firstly you need :

  • JRE 17 or 21
  • Docker and Docker Compose Plugin
  • Jenkins (LTS or Weekly)
  • BunJS

Make sure you add Jenkins to Docker Group, and restart jenkins.service.

Install script for above tools ( only for debian based distributions can be found inside Jenkins folder)

curl -sSL https://raw.githubusercontent.com/AdityaAparadh/CICD/master/Jenkins/install.sh | sudo bash

Setup

  1. Visit http://localhost:8080

The initial password can be found by:

sudo cat /var/lib/jenkins/secrets/initialAdminPassword
  1. Then select Install Recommended Plugins. Wait for installation.

  2. After that, ignore user setup for now

  3. On Jenkins Dashboard, click on New Item

  4. Name the Item, and select type as Pipeline

  5. Set respective fields, and for groovy script, copy from this repo. Also set Git SCM polling to "* * * * *", which will poll every minute.

  6. Save pipeline.

  7. Build Manually.

  8. Visiting http://localhost:5173 should now open the application.

  9. docker ps should show three running containers, for Frontend, Backend and Database (MongoDB).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 66.7%
  • Shell 17.4%
  • JavaScript 14.2%
  • Other 1.7%