GithubHelp home page GithubHelp logo

sandile-mnukwa / devops_pipeline_demo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from samarpit1111/devops_pipeline_demo

0.0 0.0 0.0 123.17 MB

Complete DevOps CI/CD Pipeline Demo with Jenkins & Docker

Batchfile 37.83% Shell 48.50% HTML 10.98% CSS 1.46% Java 1.23%

devops_pipeline_demo's Introduction

# Jenkins Complete CI/CD Pipeline Demonstration


Deliverables: This demonstration will simulate a completely automated CI/CD deployment pipeline using Jenkins. It will essentially do the following steps (phases):

  1. Pull the source code for a Java EE based Project from GIT. (SCM AUTOMATION)
  2. Compile (build) the code using Maven to generate the .war file (BUILD AUTOMATION)
  3. Run Test cases & ensure they pass. (TEST AUTOMATION)
  4. Copy the .war to a Docker build workspace (DEPLOYMENT AUTOMATION)
  5. Build a Docker image for Jboss server to run the war file. (DEPLOYMENT AUTOMATION)
  6. Deploy the Docker container on a target node. (DEPLOYMENT AUTOMATION)

Prerequisites: This demonstration has the following prerequisites:

  1. Jenkins should be installed with git, maven and shell plugins.
  2. In Jenkins Server install using # yum -y install git maven docker before trying out this demo.
  3. Changes to be made for Jenkins to be able to run docker.
echo "jenkins ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
echo 'Defaults:jenkins !requiretty' >> /etc/sudoers
setenforce 0 # Else disable SELINUX in /etc/sysconfig/selinux  and reboot

Execution: Add a Jenkins Build Job As per the below screenshot and build it:

  • Note: Add the build commands from the jenkins_build_commands.md file.

Jenkins build job Jenkins build job Jenkins build job Jenkins build job Jenkins build job

devops_pipeline_demo's People

Contributors

prasanjit- avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.