Curso Continuous Integration with Jenkins for Developers and DevOps Initiatives

  • DevOps | CI | CD | Kubernetes | Web3

Curso Continuous Integration with Jenkins for Developers and DevOps Initiatives

24 horas
Visão Geral

Curso Continuous Integration with Jenkins for Developers and DevOps Initiatives, Integração Contínua com Jenkins ensina aos participantes os princípios da integração contínua e como implementar a execução automatizada de testes usando Jenkins. Os participantes aprendem os fundamentos de Integração Contínua e Entrega Contínua (CI/CD) e Jenkins CI. Ao final deste curso Jenkins, os alunos desenvolvem uma compreensão dos vários tipos de trabalho no Jenkins e aprendem como usar o Jenkins Pipeline. 

Objetivo

Após realizar este Curso Continuous Integration with Jenkins for Developers and DevOps Initiatives, você deverá ser capaz de:

  • Configurar ferramentas no Jenkins
  • Crie Jobs Jenkins básicos e avançados
  • Use um trabalho Jenkins baseado em Node.js
  • Crie um pipeline
  • Aplique um pipeline avançado com Groovy DSL
  • Configurar a segurança Jenkins
  • Incorporar Docker
Pre-Requisitos
  • Os participantes devem ter familiaridade com as práticas de desenvolvimento Java.
Materiais
Portugues/Inglês + Lab Pratico
Conteúdo Programatico

Introduction to Continuous Integration, Continuous Delivery, and Jenkins-CI

  1. Foundation of Agile AppDev
  2. XP Flow
  3. Extreme Programming
  4. Agile Development
  5. What is Continuous Integration
  6. Typical Setup for Continuous Integration
  7. Setup Notes for Continuous Integration
  8. CI with Artifact Management
  9. What is Continuous Delivery?
  10. Why Continuous Delivery?
  11. DevOps and Continuous Delivery
  12. Continuous Delivery Challenges
  13. Continuous Delivery vs. Continuous Deployment
  14. Jenkins Continuous Integration
  15. Jenkins Features
  16. Running Jenkins

Installing and Running Jenkins

  1. Downloading and Installing Jenkins
  2. Running Jenkins as a Stand-Alone Application
  3. Running Jenkins as a Stand-Alone Application (cont'd)
  4. Running Jenkins on an Application Server
  5. The Jenkins Home Folder
  6. Installing Jenkins as a Windows Service
  7. Initial Configuration
  8. Configuration Wizard
  9. Configuring Tools
  10. Configuring Tools - Best Practices
  11. Logging in Jenkins
  12. Custom Log Recorders

Job Types in Jenkins

  1. Introduction
  2. Different types of Jenkins Items
  3. Configuring Source Code Management (SCM)
  4. Working with Subversion
  5. Working with Git
  6. Storing Credentials
  7. Service Accounts
  8. Storing Credentials
  9. Build Triggers
  10. Schedule Build Jobs
  11. Polling the SCM
  12. Polling vs Triggers
  13. Maven Build Steps

Advanced Jobs

  1. Parameterized Jobs
  2. Built-in Environment Variables
  3. Parameter Types
  4. Defining Parameters
  5. Using Parameters / Environment Variables
  6. Parameters in the config.xml File
  7. Launching a Build with Parameters
  8. Configuration Matrix
  9. Configuration Matrix – Example
  10. Defining Configuration Matrix
  11. Monitoring External Jobs

Non-Java Jenkins Jobs

  1. Jenkins Jobs
  2. Non-Java Jobs
  3. Building .NET Projects with Jenkins
  4. Installing MSTest Plugin in Jenkins
  5. Configuring the MSBuild Plugin
  6. Creating a Jenkins Job and Specify a Build Step
  7. Specifying a Step for Running Unit Tests
  8. Adding a Step for Deploying the .NET Project
  9. Building a Node.js Application with Jenkins
  10. Node.js Plugin
  11. Provides direct Pipeline support
  12. Building a C++ Project with Jenkins
  13. Executing PowerShell Scripts with Jenkins

Continuous Delivery and the Jenkins Pipeline

  1. Continuous Delivery
  2. DevOps and Continuous Delivery
  3. Continuous Delivery Challenges
  4. Continuous Delivery with Jenkins
  5. The Pipeline Plugin
  6. Defining a Pipeline
  7. A Pipeline Example
  8. Parallel Execution
  9. Creating a Pipeline
  10. Invoking the Pipeline
  11. Interacting with the Pipeline
  12. Pipeline vs. Traditional Jobs

Groovy DSL

  1. What is Groovy
  2. Groovy in Jenkins
  3. Comments in Groovy
  4. Data Types
  5. Identifiers
  6. Variables
  7. def
  8. String Interpolation
  9. Operators
  10. Ranges
  11. Conditional Statements
  12. Loops
  13. Lists
  14. Maps
  15. Exception Handling
  16. Methods
  17. Closures
  18. this Keyword
  19. Classes
  20. Static Methods
  21. Inheritance
  22. Abstract Classes
  23. Interfaces
  24. Generics
  25. Jenkins Script Console
  26. Extending with Shared Libraries
  27. Directory Structure
  28. Sample Groovy Code
  29. Defining Shared Libraries
  30. Using Shared Libraries
  31. Same Shared Library Usage Code
  32. Defining Global Variables

Securing Jenkins

  1. Jenkins Security - Overview
  2. Jenkins Security
  3. Authentication
  4. Authorization
  5. Confidentiality
  6. Activating Security
  7. Configure Authentication
  8. Using Jenkins's Internal User Database
  9. Creating Users
  10. Authorization
  11. Authorization
  12. Matrix-Based Security
  13. Note – Create the Administrative User
  14. Project-based Matrix Authorization
  15. Project-Based Authentication
  16. Role-Based Access Control

Jenkins Plugins

  1. Jenkins Plugins - SCM
  2. Jenkins Plugins – Build and Test
  3. Jenkins Plugins – Analyzers
  4. Jenkins for Teams
  5. Installing Jenkins Plugins

Distributed Builds with Jenkins

  1. Distributed Builds - Overview
  2. Distributed Builds – How?
  3. Agent Machines
  4. Configure Jenkins Master
  5. Configure Projects

Containerized Builds

  1. Introduction to Docker
  2. Docker – Benefits
  3. Containers vs. Virtual Machines
  4. Running Jenkins in a Docker Container
  5. Delete Jenkins Container and Image
  6. Configuring Command Prompt to Connect to Docker
  7. Creating Docker Container from Jenkins Job
  8. Test Custom Image Created by a Jenkins Job
  9. The Jenkins Docker Build Step Plugin
  10. Ephemeral Build Agents

The Jenkins API

  1. Remote Access API
  2. What you can do with the Jenkins Remote API
  3. Remote API and CSRF Protection – API Token
  4. Remote API and CSRF Protection – Crumb
  5. Configure Jobs to Support the Jenkins Remote API
  6. Making Remote API Calls
  7. Example - Advanced REST Client
  8. Example – cURL
  9. Jenkins CLI
  10. Configure Jenkins to use CLI
  11. Download and Use Jenkins CLI

Scripting

  1. Introduction to Scripting
  2. Benefits of Scripting
  3. The Jenkins Script Console
  4. Calling Scripts using cURL
  5. Sample Scripts
  6. Calling Groovy Scripts from a Jenkins Job
  7. Jenkins API

User Interface Options

  1. User Interface Options
  2. Customizing the UI with CSS
  3. The User Content Folder
  4. Using the User Content Folder and Simple Theme Plugin
  5. Writing a Jenkins Plugin
  6. Modify settings.xml
  7. Generate Boilerplate Code for Custom Jenkins Plugin
  8. Modify pom.xml
  9. Package and Deploy the Plugin
  10. The Blue Ocean Plugin
  11. Blue Ocean Plugin Features
  12. New modern user experience
  13. Advanced Pipeline visualizations with built-in failure diagnosis
  14. Branch and Pull Request awareness
  15. Personalized View

Best Practices for Jenkins

  1. Secure Jenkins
  2. Users
  3. Backups
  4. Reproducible Builds
  5. Testing and Reports
  6. Large Systems
  7. Distributed Jenkins
TENHO INTERESSE

Cursos Relacionados

Curso Ansible Red Hat Basics Automation Technical Foundation

16 horas

Curso Terraform Deploying to Oracle Cloud Infrastructure

24 Horas

Curso Ansible Linux Automation with Ansible

24 horas

Ansible Overview of Ansible architecture

16h

Advanced Automation: Ansible Best Practices

32h