Course: DevOps Jenkins: CI/CD with Jenkins Pipeline, AWS Pipeline

DevOps Jenkins: CI/CD with Jenkins Pipeline, AWS Pipeline

  • Life Time Access
  • Certificate on Completion
  • Access on Android and iOS App
  • Self-Paced
About this Course

This course covers all the fundamentals about Jenkins and teach you everything you need to know to setup a Jenkins build pipeline starting with continuous inspection (build, test and static analysis) all the way to continuous deployment(deploy to staging and production).

In the end of this course, you will gain in-depth knowledge about Jenkins and general DevOps skills to help your company or your own project to apply the right Jenkins workflow and continuously deliver better software.

Basic knowledge
  • Jenkins is on the bleeding edge of technology today. It is also one of the most compelling technologies of the last decade in terms of its disruption to software development and operation practices
  • The Jenkins Continuous Integration solution has become a standby in organizations of all sizes that want to increase productivity and streamline software development in the era of Agile. It has extensive community support has the extended the core functionality of Jenkins by developing thousands of useful plugins. An ecosystem of more than 1,100 plug-ins has emerged, enabling customers to add all sorts of functionality and integrate Jenkins with everything from Active Directory to GitHub to Tomcat
  • Jenkins is becoming a must tool for DevOps. It allows companies to build very sophisticated build pipelines very quickly, thus greatly reducing the risk within the software development lifecycle. Tons of companies have already been using Jenkins to implement continuous integration pipeline. Today you have the access to that same technology right on your desktop
What you will learn
  • Understand the concepts of continuous inspection, continuous integration, and continuous deployment, and the difference between them
  • Build an automated continuous deployment pipeline to build, test, analyze and deploy a web-based application with Jenkins
  • Create a multi-stage Jenkins job and visualize the complicated build pipeline with Jenkins build pipeline plugin
  • Integrate CI builds with other tools such as GitHub, Maven, Tomcat, Java, etc
  • Scale Jenkins workflow with Jenkins’ master and slave architecture, deploy and configure a multi-node Jenkins cluster in the cloud for labeled builds
  • Learn how to configure and extend Jenkins functionality with Jenkins plugins such as copy build artifacts plugins and deploy to container plugins, etc
  • Invaluable DevOps skills such as setting up staging and production environment for continuous integration workflows
  • Learn tips on how to effectively improve Jenkins build time such as executing jobs in parallel
  • Best practices of working with Jenkins in the field
  • In-depth knowledge about Jenkins and confidence to help your company or your own project to apply the right Jenkins workflow and continuously deliver better software
  • And many many more...
Number of Lectures: 11
Total Duration: 01:50:09
  • About the Course  
  • What is Continuous Integration  
  • Download & Configure Jenkins on Linux  
  • Text Direction : Download and Configure Jenkins on Linux  

    Install Java on Windows Machine

    Step 0: Un-Install Older Version(s) of JDK/JRE

    I recommend that you install only the latest JDK. Although you can install multiple versions of JDK/JRE concurrently, it is messy.

    If you have previously installed older version(s) of JDK/JRE, un-install ALL of them. Goto "Control Panel" ⇒ "Programs" ⇒ "Programs and Features" ⇒ Un-install ALL programs begin with "Java", such as "Java SE Development Kit ...", "Java SE Runtime ...", "Java X Update ...", and etc.

    Step 1: Download JDK
    1. Goto Java SE download site @
    2. Under "Java Platform, Standard Edition" ⇒ "Java SE 8.0.{x}", where {x} denotes a fast running update number ⇒ Click the JDK's "Download" button.
    3. Under "Java SE Development Kit 8.0.{x}" ⇒ Check "Accept License Agreement".
    4. Choose the JDK for your operating system, i.e., "Windows" (for 64-bit Windows OS), and download the installer (e.g., "jdk-8.0.{x}_windows-x64_bin.exe" - 283MB).

    Step 2: Install JDK and JRE

    Run the downloaded installer (e.g., "jdk-8.0.{x}_windows-x64_bin.exe"), which installs both the JDK and JRE.

    By default:

    • JDK is installed in directory "C:\Program Files\Java\jdk-8.0.{x}", where {x} denotes the upgrade number; and
    • JRE is installed in "C:\Program Files\Java\jre-8.0.{x}".

    Notes: In 64-bit Windows, "Program Files" is meant for 64-bit programs; while "Program Files (x86)" for 32-bit programs.

    Accept the defaults and follow the screen instructions to install JDK and JRE.

    Use the "File Explorer", goto "C:\Program Files\Java" to inspect these folders. Take note of your JDK installed directory, in particular, the varying upgrade number, which you will need in the next step.

    In the following diagram, the JDK installed directory is "C:\Program Files\Java\jdk-8.0.1", where {x}=1. I shall refer to the JDK installed directory as <JAVA_HOME>, hereafter, in this article.

    Step 3: Include JDK's "bin" Directory in the PATH

    Windows' Shell searches the current directory and the directories listed in the PATH environment variable (system variable) for executable programs. JDK's programs (such as Java compiler javac.exe and Java runtime java.exe) reside in the sub-directory "bin" of the JDK installed directory. You need to include "bin" in the PATH to run the JDK programs.

    To edit the PATH environment variable in Windows 7/8/10:

    1. Launch "Control Panel" ⇒ (Optional) System and Security ⇒ System ⇒ Click "Advanced system settings" on the left pane.
    2. Switch to "Advanced" tab ⇒ Push "Environment Variables" button.
    3. Under "System Variables" (the bottom pane), scroll down to select "Path" ⇒ Click "Edit...".
    4. For Windows 10 (newer releases):
    5. You shall see a TABLE listing all the existing PATH entries (if not, goto next step). Click "New" ⇒ Enter the JDK's "bin" directory "c:\Program Files\Java\jdk-8.0.{x}\bin" (Replace {x} with your installation number!!!) ⇒ Select "Move Up" to move this entry all the way to the TOP.

    6. Prior to newer Windows 10:
    7. (CAUTION: Read this paragraph 3 times before doing this step! Don't push "Apply" or "OK" until you are 101% sure. There is no UNDO!!!)
    8. (To be SAFE, copy the content of the "Variable value" to Notepad before changing it!!!)
    9. In "Variable value" field, INSERT "c:\Program Files\Java\jdk-8.0.{x}\bin" (Replace {x} with your installation number!!!) IN FRONT of all the existing directories, followed by a semi-colon (;) which separates the JDK's bin directory from the rest of the existing directories. DO NOT DELETE any existing entries; otherwise, some existing applications may not run.
    Variable name  : PATH
    Variable value : c:\Program Files\Java\jdk-8.0.{x}\bin;[do not delete exiting entries...]

    Notes: Starting from JDK 1.8, the installation created a directory "c:\ProgramData\Oracle\Java\javapath" and added to the PATH. It contains only JRE executables (java.exejavaw.exe, and javaws.exe), but NOT the JDK executables (e.g., javac.exe).

    Step 4: Verify the JDK Installation

    Launch a CMD shell via one of the following means:

    1. Click "Search" button ⇒ Enter "cmd" ⇒ Choose "Command Prompt", or
    2. right-click "Start" button ⇒ run... ⇒ enter "cmd", or
    3. (Prior to Windows 10) click "Start" button ⇒ All Programs ⇒ Accessories (or Windows System) ⇒ Command Prompt, or
    4. (Windows 10) click "Start" button ⇒ Windows System ⇒ Command Prompt.

    Issue the following commands to verify your JDK installation:

    1. Issue "path" command to list the contents of the PATH environment variable. Check to make sure that your <JAVA_HOME>\bin is listed in the PATH.
    2. Don't type prompt>, which denotes the command prompt!!! Key in the command (highlighted) only.
    // Display the PATH entries
    prompt> path
    PATH=c:\Program Files\Java\jdk-8.0.{x}\bin;[other entries...]
    1. Issue the following commands to verify that JDK/JRE are properly installed and display their version:
    // Display the JRE version
    prompt> java -version
    java version "1.8.0_151"
    Java(TM) SE Runtime Environment (build 1.8.0_151-b12)
    Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode)

    Start Jenkins on Windows

    1. Go to Directory, where you have kept your Jenkins.war file

    2. Execute Command :

    java -jar jenkins.war --httpPort={Port_number}

  • Download & Configure Jenkins on Windows  
  • Download & Configure Jenkins on Mac OS  
  • Text Direction : Download & Configure Jenkins on Mac OS  
  • Java 9,10 Warning  

    Java 9,10 Warning

    Current version of Jenkins is NOT ready for Java 9 yet. Please stick with Java 8 for the moment.

Jenkins Getting Started
  • Jenkins Architecture  
  • Create & Execute Jenkins Job  
  • Install GIT & GitHub Plugin  
Reviews (0)