This repository was archived by the owner on Dec 19, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Jenkins Setup CI CD
ayishacs edited this page Apr 6, 2021
·
2 revisions
Jenkins Setup for CICD
Jenkins URL: http://149.165.171.218:8080/
-
Navigate to Jenkins and click on 'Manage Jenkins'
-
Search and Install the following plugins from 'Available' Tab
- Docker
- Nodejs
- SSH
- Publish over SSH
- Git
- Restart Jenkins to apply the installed plugins
Click on Global Configuration Tool
-
Add Git installation Name: Default Path to Git executable: git
-
Add NodeJS installations Name: node
-
Add dockerhub credentials by following this link Follow this tutorial to add your Docker credentials to ensure after the image is built, it is pushed to dockerhub.
-
Create a Job by selecting 'New Item'
- Enter Name
- Select Pipeline Job
- From Build Triggers select GitHub hook trigger for GITScm polling
Follow the instructions for the Pipeline part,
- Definition: Pipeline script from SCM
- SCM: git
- Repository URL: https://github.com/airavata-courses/Panorama
- Branches to build: */appName-cd panorama-cd auth-cd user-cd session-cd session-log-cd image-cd gateway-cd
- Script Path: auth-service/jenkinsFile (or any service)
- Lightweight checkout: Checked
- Save
Milestones