Jenkins 2.x Chris Vogel. Agenda O Jenkins background O Installation O Jenkins 2.x highlights O Build pipelines O Pipeline DSL O Multibranch plugin.

Slides:



Advertisements
Similar presentations
Chapter 20 Oracle Secure Backup.
Advertisements

Jenkins User Conference San Francisco, Sept #jenkinsconf Business Process Model & Notation (BPMN) Workflows in Jenkins Max Spring Cisco
HIGH PERFORMANCE CONTINUOUS DELIVERY VERSIONING AND RELEASE MANAGEMENT ALIGNED.
James Boother Blog: INTRODUCTION TO POWERSHELL.
CVS Selim Çıracı Ahmet Kara Metin Tekkalmaz. CVS – Open Source Version Control System Outline What are Version Control Systems? And why do we need them?
Source Control Repositories for Enabling Team Working Svetlin Nakov Telerik Corporation
Jenkins User Conference Jenkins User Conference San Francisco, Sept #jenkinsconf Take Control. Write a Plugin. Part II Baruch Sadogursky JFrog.
WMU GNL Automation How to make my IT life easier CHRISTOPHER KEYAERT CONSULTANT AT INOVATIV CLOUD AND DATACENTER MANAGEMENT MVP.
Talend 5.4 Architecture Adam Pemble Talend Professional Services.
Continuous Integration after Hudson, CruiseControl, and Home Built Mile High Agile 2011 – Mark Waite.
ENTERPRISE JOB SCHEDULER SAJEEV RAMAKRISHNAN 29 AUG 2014.
Create with SharePoint 2010 Jen Dodd Sr. Solutions Consultant
Software Configuration Management (SCM)
SQL Server Integration Services (SSIS) Presented by Tarek Ghazali IT Technical Specialist Microsoft SQL Server (MVP) Microsoft Certified Technology Specialist.
MAVEN-BLUEMARTINI Yannick Robin. What is maven-bluemartini?  maven-bluemartini is Maven archetypes for Blue Martini projects  Open source project on.
Sumedha Rubasinghe October,2009 Introduction to Programming Tools.
|Tecnologie Web L-A Anno Accademico Laboratorio di Tecnologie Web Introduzione ad Eclipse e Tomcat
INFSO-RI Module 01 ETICS Overview Alberto Di Meglio.
MAE Continuous Integration Administration guide July 8th, 2013.
© 2008 IBM Corporation ® IBM Cognos Business Viewpoint Miguel Garcia - Solutions Architect.
CHAPTER TEN AUTHORING.
Contents 1.Introduction, architecture 2.Live demonstration 3.Extensibility.
INFSO-RI Module 01 ETICS Overview Etics Online Tutorial Marian ŻUREK Baltic Grid II Summer School Vilnius, 2-3 July 2009.
Learningcomputer.com SQL Server 2008 – Administration, Maintenance and Job Automation.
Software Quality Assurance
Continuous Integration and Code Review: how IT can help Alex Lossent – IT/PES – Version Control Systems 29-Sep st Forum1.
Overview of the SAS® Management Console
NA-MIC National Alliance for Medical Image Computing UCSD: Engineering Core 2 Portal and Grid Infrastructure.
Has Agent Scripting Got You FRUSTRATED?. Agent Scripting Simplified!
1 PUPPET AND DSC. INTRODUCTION AND USAGE IN CONTINUOUS DELIVERY PROCESS. VIKTAR VEDMICH PAVEL PESETSKIY AUGUST 1, 2015.
Semi-Automatic patch upgrade kit
1 Chapter Overview Defining Operators Creating Jobs Configuring Alerts Creating a Database Maintenance Plan Creating Multiserver Jobs.
Microsoft Management Seminar Series SMS 2003 Change Management.
Running Kuali: A Technical Perspective Ailish Byrne (Indiana University) Jonathan Keller (University of California, Davis)
BODY From Source Code Management to Daily Build Soren Klemmensen, Kamil Sacek & Luc van Vugt
Build Systems Presentation December 14, 2015 Noon-1pm Kathy Lee Simunich Bldg. 203/ D120 Brought to you by: Argonne Java.
SPI NIGHTLIES Alex Hodgkins. SPI nightlies  Build and test various software projects each night  Provide a nightlies summary page that displays all.
Build and Deployment Process Understand NCI’s DevOps and continuous integration requirements Understand NCI’s build and distribution requirements.
Introduction to ASP.NET development. Background ASP released in 1996 ASP supported for a minimum 10 years from Windows 8 release ASP.Net 1.0 released.
© 2013 IBM Corporation IBM Rational Asset Analyzer & Rational Asset Analyzer for System z Rational Asset Analyzer What is new! Leshek Fiedorowicz
Ansible and Ansible Tower 1 A simple IT automation platform November 2015 Leandro Fernandez and Blaž Zupanc.
Anjana & Shankar September,2010 Introduction to Programming Tools.
ImageJ2. Why ImageJ2? ● Support the next generation of image data ● Interoperate and collaborate with other projects ● Broaden the ImageJ community ●
XNAT 1.7: Getting Started 6 June, Introduction In this presentation we’ll discuss:  Features and functions in XNAT 1.7  Requirements  Installing.
Architecture Review 10/11/2004
Appium Studio Appium testing made easy at any scale.
ONAP on Vagrant for ONAPers
Joonas Sirén, Technology Architect, Emerging Technologies Accenture
Agenda:- DevOps Tools Chef Jenkins Puppet Apache Ant Apache Maven Logstash Docker New Relic Gradle Git.
Introducing the Windows Mobile development
Proposed IT Infrastructure for TOP OS project
Continuous Integration (CI)
Open Source Software Development Environment
External Web Services Quick Start Guide
Trends like agile development and continuous integration speak to the modern enterprise’s need to build software hyper-efficiently Jenkins:  a highly.
On the road: Test automation in practice for a BMW map update service
Modernize ConfigMgr OSD with Community Tools
Revision Control, Automated Testing and Docker RSE Conference 2017
DevOps Deep Dive DevOps Deep Dive What you will learn
How to automate software with
Automated Testing and Integration with CI Tool
Module 01 ETICS Overview ETICS Online Tutorials
JENKINS TIPS Ideas for making your life with Jenkins easier
Experience with the process automation at SORS
CI/CD Workflow and Event Pages
Jenkins pipelines Presented by Pierre-Henri Symoneaux
Jenkins Pipeline meets Oracle
Jenkins Multibranch Pipeline
DEVOPS & THE FUTURE OF TESTING
Overview on CI Use JJB (Jenkins Job Builder) to manage Jenkins jobs.
Presentation transcript:

Jenkins 2.x Chris Vogel

Agenda O Jenkins background O Installation O Jenkins 2.x highlights O Build pipelines O Pipeline DSL O Multibranch plugin

Jenkins O An open source continuous integration tool O Extensible with over 1000 plugins O Master/agent architecture O Released weekly (currently 2.17) O Has quarterly LTS releases (2.7.2)

History O Originally released in February 2005 as Hudson O Forked in February 2011 as Jenkins O Released version 2.0 on April 20, 2016

Installation O Download WAR file O Run as executable WAR file O Install in web container (e.g. Tomcat) O Run as Docker container O jenkins – LTS release O jenkinsci/jenkins – weekly release

Installation O Native installations O Debian-based distribution O apt-get O Red Hat-based distribution O yum O Windows O Master and agents as Windows service

Setup Wizard O Initializes security O Requires initial, generated, admin password O Allows creation of admin account O Plugin configuration O Suggested plugins O Manual selection

Setup Wizard Demo

Jenkins 2.x Highlights O Focused more on continuous delivery O Pipeline DSL O Maintains backwards compatibility O Improved job configuration screens O Tab metaphor O Improved “New Item” screen O Same interface

New UI (Blue Ocean) O Re-thinks the Jenkins user experience O A separate UI O Old and new side-by-side O Currently in alpha

Build Pipeline “Automated manifestation of your process for getting software from version control into the hands of your users”

Example Project O Baseball Standings O Spring Boot O Gradle O JUnit O Jacoco O Docker O Selenium O MySQL

Example Pipeline O Checkout O Build/Test O Publish test results & code coverage O Sonar code analysis O Create Docker image O Run system tests

Build Pipeline O Legacy Pipeline (Jenkins 1.x) O Chain individual jobs together

Build Pipeline O Legacy Pipeline (Jenkins 1.x) O Chain individual jobs together O Build Pipeline Plugin View

Legacy Pipeline Demo

Build Pipeline O New Pipeline (Jenkins 2.x) O Pipeline DSL O Pipeline as code O In job vs in SCM

Pipeline DSL O Groovy-based Domain Specific Language O Extensible by plugins O Extensible by Pipeline Global Library O Web-based snippet generator O IntelliJ IDEA GroovyDSL downloadable script

Pipeline as Code O Design a whole pipeline, not a linear set of tasks O Store the pipeline configuration (Jenkinsfile) in a text file in SCM O Automatically set up new pipelines when configuration files are added O Differentiate multiple branches in the same repository

Pipeline Goals O Complex requirements - fork/join, loop, parallel O Resilient – survive master restarts O Pausable – pause and wait for human input O Efficient – restart from saved checkpoints (Enterprise) O Visualized – Pipeline StageView dashboard

Pipeline Vocabulary O Step O A single task/build step O Stage O Grouping of logical build steps O Node O Schedules build steps on a build agent O Creates a workspace

Pipeline DSL Steps O build: Build a job O checkout: General SCM O echo: Print message O git: Git O input: Wait for interactive input O mail: Mail O node: Allocate node

Pipeline DSL Steps O sh: Shell script O stage: Stage O step: General build step O tool: Use a tool from a predefined tool installation

DSL Global Variables O env: Environment variables O scm: SCM configuration, multibranch or script from SCM O docker: Docker-related functions O Build images O Manage images O Run containers

Jenkins 2.x Pipeline Demo

Multibranch Job O Enables configuration of jobs for branches of a project O Automatically discovers branches O Requires a Jenkinsfile in the project root

Multibranch Job Demo

Resources O Website - O Getting Started with Pipeline O Pipeline Tutorial - plugin/blob/master/TUTORIAL.md plugin/blob/master/TUTORIAL.md O Plugin Compatibility with Pipeline - plugin/blob/master/COMPATIBILITY.md plugin/blob/master/COMPATIBILITY.md

Resources O Continuous Deliver with Jenkins Workflow and Docker - stories.com/blog/2015/08/23/continuous- delivery-with-jenkins-workflow-and-docker/ stories.com/blog/2015/08/23/continuous- delivery-with-jenkins-workflow-and-docker/ O Introducting Blue Ocean - g-blue-ocean/ g-blue-ocean/ O My Jenkinsfile - Jenkins2 Jenkins2