4.6 out of 5
4.6
40 reviews on Udemy

Jenkins 2 Introduction for Beginners on Mac OS

Novice guide to Jenkins 2 Continuous Integration with a step-by-step guide to DevOps on a MacOS System
Instructor:
Jason Taylor
2,229 students enrolled
English
Install Jenkins CI server on MacOS
Install and configure several tools commonly used with Jenkins
Understand the basics of continuous inspection, continuous integration, and continuous deployment
Use Jenkins effectively to build, test, and analyze Java projects
Apply the techniques and experience to implement Jenkins and/or a continuous integration system

This is a beginner’s course designed to show how to setup and run a Jenkins CI server starting with continuous inspection (build, test and analysis) for users of MacOS-based systems. This course provides a strong foundation for implementing continuous inspection and integration at your company or studio. In order to keep the course short and to-the-point, several decisions were made in order to provide a complete path to continuous integration.

The pipeline created in this course consists of the following:

  • Jenkins CI server installed and configured on Windows
  • Git as the source control system
  • Java as the main programming language of build projects
  • Maven as the build tool

This set of tools provides a comprehensive, end-to-end implementation continuous integration pipeline. Jenkins can be installed on many operating systems and supports a myriad of tools and technologies — which means, this course provides tremendous value to those comfortable or interested in other operating systems and/or technologies.

Course Outline

Introduction provides an overview for the course, which leas to the Core Concepts for Jenkins. This provides a foundation for the remainder of the course.

Quick Installation provides an abbreviated step-by-step instructions on how to setup Jenkins and all the related tools specifically on Windows. Full Installation details is covered in the bonus section of the course.

Jenkins Basics provides a first look at Jenkins at work with a very simple “freestyle” project. This allows us to learn the Jenkins interface and the key features it provides.

After our initial introduction to Jenkins, we Manage Jenkins plugins and global configuration.

Then, we dive into Maven Projects specifically — since Jenkins can understand Maven and thus provides special features for Maven projects — with the right plugins installed.

We venture beyond the basics with Scheduled Projects and periodically Polling Source Control, which are closely related. Then we look at how to Link Projects together by calling upstream and downstream projects. Finally, we organize our projects with Views.

Course Features

Presentations provide audio/video training of conceptual ideas in each major area or introduction of new concepts.

Screencasts provide a video of the instructor’s computer system with any actions, commands, or screens displayed and narrated. There are several hours of screencat video content — it makes up the vast majority of the course. Any command line based screencast will include a command listing in the lecture downloads.

Introduction

1
Course Welcome and Introduction

An overview of the key Jenkins topics covered in this course, such as automating Maven builds.

2
Course Focus and Approach

An explanation of the way this course is taught; mostly step-by-step instructional screen cast videos supplemented with slideshows on key concepts.

3
What and Why of Jenkins

A basic overview of what Jenkins is and why you should use it to automate builds.

4
Jenkins Architecture

A quick narrated diagram showing the way that Jenkins functions on your host system.

Quick Install

1
Quick Install Overview

A quick overview of the tools we will be installing for this course.

2
Jenkins Quick Install

A quick guide to getting the titular Jenkins installed and running on your host system.

3
Jenkins Services on Mac OS

A quick explanation of how to start and stop Jenkins running on Mac OS X.

4
Quick Install Notes

Jenkins Basics

1
Jenkins Basics Overview

A quick look into the Basic Jenkins topics covered in this first section.

2
Login

A quick explanation of how to get logged into your user account on Jenkins to be ready to get some work done in the next lectures.

3
Jenkins Dashboard

A quick overview of the important items on your Jenkins dashboard.

4
Create First Job

Creating our fist Job in Jenkins so that we will have something to work with throughout this section.

5
Project Configuration

An explanation of the basic functionality of the project configuration page in Jenkins.

6
First Build

Triggering our first project builds and seeing how that affects the Jenkins home page.

7
Project Homepage

A quick overview of the useful items on the project's homepage.

8
Enable and Disable Projects

How to enable and disable projects, just in case something goes wrong.

9
Build History

Reviewing the history of builds for a job within Jenkins.

10
Build Page

Reviewing the information Jenkins has for specific builds within a job.

11
Script Project

Creating a basic shell script freestyle Job within Jenkins

12
Failing on Purpose

Making a build fail in order to understand what a build failure looks like in Jenkins.

13
Dashboard Revisited

Reviewing the purpose of items on the Jenkins dashboard now that it is populated with built jobs.

14
Deleting a Project

Removing a project that is no longer wanted from Jenkins.

15
Cleaning Up / Fix Broken Project

Editing the job's build configuration to get a successful build running once again.

16
Copy a Project

Duplicating an existing project in order to populate our Jenkins server with jobs for the next section.

Manage Jenkins

1
Manage Jenkins Overview

An overview of the goals for this section, namely being able to install and configure plugins within Jenkins, as well as being able to configure Jenkins itself.

2
Manage Jenkins Page

An overview of the various configuration tools accessible to us for managing Jenkins itself.

3
Update Jenkins

A walk through of the process for installing new releases of Jenkins onto your Mac operating system.

4
Update Plugins

Keeping plugins within Jenkins up to date.

5
Plugin Research

Learning how to pick a plugin when you need additional functionality in Jenkins.

6
Add New Plugin

Adding a plugin to Jenkins after locating it from an external resource.

7
Uninstall Plugins

Removing unwanted plugins from Jenkins.

8
Enable/Disable Plugins

Disabling a problematic plugin as a way to troubleshoot issues in Jenkins, as well as enabling it again afterwards.

9
Maven Integration Plugin

Installing the Maven plugin, which is important to future lessons.

10
Configure Jenkins

Configuring basic items in Jenkins, such as the number of build executors and the use of a system message.

11
Global Tools

Pointing our installation of Jenkins to the installations of Java, Git, and Maven on our local system.

Maven Projects

1
Maven Projects Overview

An overview of the topics in this section, namely building our Maven project locally, importing the project into Jenkins via GitHub, and troubleshooting build issues that arise.

2
Build Locally First

Testing out our Maven build on our local system before testing it within Jenkins.

3
Maven Project

Configuring our Maven project to work in Jenkins by importing it from GitHub.

4
Maven Build and Workspace

Building our Maven project within Jenkins and inspecting the results.

5
Maven Modules and Build Pages

Inspecting the Maven Module builds within Jenkins, as provided by the Maven integration plugin.

6
Troubleshooting Maven Projects - Code Update

Forcing our Maven build to fail in order to allow us to troubleshoot the issue in future lessons.

7
Troubleshooting Maven Projects - Within Jenkins

Using the console output of our Maven build to help understand the underlying issue with the build.

8
Troubleshooting Maven Projects - Replicate Locally

Troubleshooting a failing build in Jenkins by removing Jenkins from the equation and building on our local system.

9
Troubleshooting Maven Projects - Project Workspace

Troubleshooting our Maven build by inspecting the files within our Jenkins workspace to understand what part of the code is throwing errors.

10
Troubleshooting Maven Projects -Resolve Failure

Fixing the issue we created in our Maven project to get our build back into a working state.

Scheduled Projects

1
Scheduled Projects Overview

An overview of the upcoming section on scheduling Jobs in Jenkins.

2
Building on a Schedule - Part 1 - Setup and Configuration

Making our Jenkins job run on a schedule with an explanation of how the scheduling field works in Jenkins.

3
Building on a Schedule - Part 2 - Builds

Watching our build trigger automatically while also showing we can still manually trigger builds.

4
Building on a Schedule - Part 3 - Revise Schedule

Revising our automatic build schedule to trigger builds on a more reasonable schedule.

Source Code Polling

1
Polling Overview

An overview of the polling we will be using in this section. We will use it in order to trigger Jenkins to build upon source code changes.

2
Polling 1 - Welcome / Config

Setting up our Maven project to Poll the GitHub source control for updates in order to automatically trigger the Jenkins build.

3
Polling 2 - Initial Builds

Watching our project trigger and then viewing the Git polling log to better understand the build trigger.

4
Polling 3 - Code Updates

Changing our GitHub source code in order to trigger our Jenkins build, while also seeing how this affects our Git polling log.

5
Polling 4 - Revise Schedule

Revising our schedule to make sense for a live production sever.

Linked Projects

1
Linked Projects Overview

An overview of how we will be using upstream and downstream projects to create a Jenkins build workflow in this section.

2
Upstream Project Configuration

Creating a basic Jenkins workflow by making an upstream job that will trigger one of our existing jobs after it builds.

3
Upstream Project Build and Review

Building our upstream project in order to see the project workflow in Jenkins.

4
Downstream Project Configuration

Creating a project such that it will be triggered downstream another project being successfully built.

5
Downstream Project Build and Review

Watching our downstream job get triggered and reviewing the workflow this created.

Views

1
Views Overview

In this section we will manage our job views in Jenkins, including automation with regular expressions.

2
Creating New Views

How to create and manage custom views in Jenkins.

3
Regular Expression Views

Creating views that select projects based on a regular expression selecting jobs based on name.

4
Deleting a View

Deleting an unwanted view in Jenkins.

5
View Descriptions

Adding descriptions to views in order to further help with organization and consistency.

6
Navigation with Views and Default View

Navigating between and into views to understand how views help categorize jobs in Jenkins.

7
View Build History

Viewing history of multiple related jobs in Jenkins through views.

Conclusion

1
Review and Final Words

An overview of the basics that we have learned about Jenkins in this course.

Errata and Updates

1
Jenkins Incompatibility with Java 9

Bonus: Full Install on Mac

1
Full Mac OS X Installation Overview

A list of tools that we will install on Mac OS X in this section.

2
Chrome on Mac OS

A guide to installing the web browser Google Chrome on Mac OS.

3
Apple Git Installation

A guide to installing Git from Apple on Mac OS.

4
Gitting Help

A guide to getting help in Git.

5
Git Minimal Configuration

Configuring Git with the basic information needed to be able to use it.

6
TextMate 2 Installation

A guide to installing the text editor TextMate 2.

7
TextMate 2 Configuration

A guide to configuring TextMate 2 to work in the terminal.

8
TextMate 2 Git Integration

A guide to integrating TextMate 2 with Git.

9
Java 8 Install

A guide to installing Java 8 on Mac OS.

10
Maven 3 Install

A guide to setting up Maven on Mac OS.

11
Jenkins 2 Install on Mac OS

A guide to installing Jenkins 2 on Mac OS.

12
Jenkins 2 Getting Started

A guide to getting started in Jenkins on Mac OS.

13
Resolve Problem with MacOS Upgrade Breaking Git (new!)

A guide to resolving the issue of Git not working after upgrading to a new version of Mac OS.

Special Offers

1
Special Offers
You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.6
4.6 out of 5
40 Ratings

Detailed Rating

Stars 5
19
Stars 4
14
Stars 3
7
Stars 2
0
Stars 1
0
ed8b226ad181a3becb8387132a977699
30-Day Money-Back Guarantee

Includes

3 hours on-demand video
3 articles
Full lifetime access
Access on mobile and TV
Certificate of Completion