MAE Continuous Integration Administration guide July 8th, 2013.

Slides:



Advertisements
Similar presentations
HORIZONT TWS/WebAdmin TWS/WebAdmin for Distributed
Advertisements

Continuous Integration (CI) By Jim Rush Version Control Build Test Report.
Jenkins User Conference San Francisco, Sept #jenkinsconf Business Process Model & Notation (BPMN) Workflows in Jenkins Max Spring Cisco
SOFTWARE PRESENTATION ODMS (OPEN SOURCE DOCUMENT MANAGEMENT SYSTEM)
Jenkins User Conference Jenkins User Conference San Francisco, Sept #jenkinsconf Using Jenkins in the Enterprise and the Cloud Mark Prichard Kohsuke.
Chapter 15 Chapter 15: Network Monitoring and Tuning.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 8: Implementing and Managing Printers.
Lesson 18: Configuring Application Restriction Policies
PowerCenter 8.6 SE Installation and Operational Guidelines.
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2006 Microsoft Corporation.
HORIZONT 1 TWS/WebAdmin Tips & Tricks HORIZONT Software for Datacenters Garmischer Str. 8 D München Tel ++49(0)89 /
Check Disk. Disk Defragmenter Using Disk Defragmenter Effectively Run Disk Defragmenter when the computer will receive the least usage. Educate users.
CRSX plug-in development. Prerequisites Software and Libraries Eclipse RCP (3.5 or higher) –Go –Select.
Slide 1 of 9 Presenting 24x7 Scheduler The art of computer automation Press PageDown key or click to advance.
Understanding and Managing WebSphere V5
SubVersioN – the new Central Service at DESY by Marian Gawron.
Talend 5.4 Architecture Adam Pemble Talend Professional Services.
#RefreshCache CI - Daily Builds w/Jenkins – an Open Source Continuous Integration Server Nick Airdo Community Developer Advocate Central Christian Church.
© 2012 IBM Corporation Tivoli Workload Automation Informatica Power Center.
9.1 © 2004 Pearson Education, Inc. Exam Planning, Implementing, and Maintaining a Microsoft Windows Server 2003 Active Directory Infrastructure.
Hands-On Microsoft Windows Server 2008 Chapter 1 Introduction to Windows Server 2008.
WebFOCUS Developer Studio Update Dimitris Poulos Technical Director September 3, 2015 Copyright 2009, Information Builders. Slide 1.
MAE Atlassian Tool Suite Administration Training July 8 th, 2013.
Introduction to HP LoadRunner Getting Familiar with LoadRunner >>>>>>>>>>>>>>>>>>>>>>
Guide to Linux Installation and Administration, 2e1 Chapter 3 Installing Linux.
Introducing, Installing, and Upgrading Windows 7 Lesson 7.
1 Guide to Novell NetWare 6.0 Network Administration Chapter 11.
Developing Workflows with SharePoint Designer David Coe Application Development Consultant Microsoft Corporation.
© 2011 Delmar, Cengage Learning Chapter 7 Managing a Web Server and Files.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 7: Domain Name System.
CIM6400 CTNW (04/05) 1 CIM6400 CTNW Lesson 6 – More on Windows 2000.
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
SUSE Linux Enterprise Desktop Administration Chapter 12 Administer Printing.
INFSOM-RI Juelich, 10 June 2008 ETICS - Maven From competition, to collaboration.
Microsoft FrontPage 2003 Illustrated Complete Finalizing a Web Site.
XA R7.8 Link Manager Belinda Daub Sr. Technical Consultant 1.
A Practical Guide to Fedora and Red Hat Enterprise Linux Unit 8: Installing Software in Linux Chapter 13: Downloading and Installing Software By Fred R.
6 th Annual Focus Users’ Conference Manage Integrations Presented by: Mike Morris.
1 Chapter Overview Publishing Resources in Active Directory Service Redirecting Folders Using Group Policies Deploying Applications Using Group Policies.
1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks.
Chapter 10 Chapter 10: Managing the Distributed File System, Disk Quotas, and Software Installation.
XA R7.8 Link Manager How to Manage an R7.8 Environment Ruth Anne Pharr Sr. IT Consultant, CISTECH Inc.
Deploying Software with Group Policy Chapter Twelve.
12 Copyright © 2009, Oracle. All rights reserved. Managing Backups, Development Changes, and Security.
1 Active Directory Administration Tasks And Tools Active Directory Administration Tasks Active Directory Administrative Tools Using Microsoft Management.
Welcome to a MNSPUG Addition! April 8 th, 2009 What You Need to Know About SharePoint Designer (Now That It's Free) Raymond.
SPI NIGHTLIES Alex Hodgkins. SPI nightlies  Build and test various software projects each night  Provide a nightlies summary page that displays all.
8/29/10 Maven Repository Management with Nexus Jim McMahon.
Maven. Introduction Using Maven (I) – Installing the Maven plugin for Eclipse – Creating a Maven Project – Building the Project Understanding the POM.
Welcome to Xandros Desktop Version 2.0. What is Xandros? The New Standard – Xandros is the award winning new standard for Desktop Operating System software.
© CGI Group Inc. User Guide Subversion client TortoiseSVN.
Upgrade on Windows 7. DownloadSoftware Download Software from link provided in Webliography: e/
DECTRIS Ltd Baden-Daettwil Switzerland Continuous Integration and Automatic Testing for the FLUKA release using Jenkins (and Docker)
© 2013 IBM Corporation IBM UrbanCode Deploy v6.0 Support Enablement Training Jenkins plug-in 1 November 2013.
How to use Drupal Awdhesh Kumar (Team Leader) Presentation Topic.
SQL Database Management
Agenda:- DevOps Tools Chef Jenkins Puppet Apache Ant Apache Maven Logstash Docker New Relic Gradle Git.
Useful Tools for Testing
Continuous Integration (CI)
HORIZONT TWS/WebAdmin DS TWS/WebAdmin DS Tips & Tricks
Trends like agile development and continuous integration speak to the modern enterprise’s need to build software hyper-efficiently Jenkins:  a highly.
Spacewalk and Koji at Fermilab
Advanced Integration and Deployment Techniques
Microsoft FrontPage 2003 Illustrated Complete
User Guide Subversion client TortoiseSVN
Managing a Web Server and Files
JENKINS TIPS Ideas for making your life with Jenkins easier
Planning a Group Policy Management and Implementation Strategy
Dongwhan Kim Annie Zhao Steven Lawrance
Introducing NTFS Reliability Security Long file names Efficiency
Presentation transcript:

MAE Continuous Integration Administration guide July 8th, 2013

Agenda Introducing Jenkins Installing and running Jenkins Jenkins Terminology Securing Jenkins Managing plugins Jobs creation and configuration

Introducing Jenkins Jenkins is a powerful and widely used open source continuous integration server providing development teams with a reliable way to monitor changes in source control and trigger a variety of builds. Jenkins plugin system allows Jenkins to be extended to meet specific needs of individual projects.

Installing and running Jenkins Software Prerequisites: ─ only one prerequisite, a Java Runtime Environment (JRE) compatible with Java 6 or higher ─ sudo yum install java On Red Hat Enterprise Linux (RHEL), you can install Jenkins through yum: ─ sudo wget -O /etc/yum.repos.d/jenkins.repo ─ sudo rpm --import ci.org/redhat/jenkins-ci.org.key ─ sudo yum install jenkins

Installing and Running Jenkins Starting and Stopping Jenkins on RHEL ─ sudo service jenkins start/stop/restart Jenkins Log Files on RHEL ─ Log file will be placed in /var/log/jenkins/jenkins.log Jenkins Configuration on RHEL ─ /etc/sysconfig/jenkins will capture configuration parameters for the launch Upgrading Jenkins on RHEL ─ sudo yum update jenkins

Jenkins Terminology TermDescription Master/SlaveSlaves are Jenkins nodes that are configured to build projects for a master. Jenkins runs a separate program called "slave agent" on slaves. When slaves are registered to a master, a master starts distributing loads to slaves. Job/ProjectA runnable task that is controlled / monitored by Jenkins PublisherA publisher is part of the build process other than compilation, for example JUnit test runs. A publisher may report stable or unstable result depending on the result of its processing. For example, if a JUnit test fails, then the whole JUnit publisher may report unstable.

Jenkins Terminology TermDescription Completed BuildA build is completed, if it was started and finished with any result, including failed builds. Stable buildA build is stable if it was built successfully and no publisher reports it as unstable. Unstable buildA build is unstable if it was built successfully and one or more publishers report it unstable. For example if the JUnit publisher is configured and a test fails then the build will be marked unstable. Broken/Failed buildA build is broken if it failed during building. That is, it is not successful. Successful buildA build is successful when the compilation reported no errors.

Jenkins Terminology TermDescription Upstream projectA project can have one or several upstream projects, which means that a build for the current project may be scheduled when an upstream build is finished. Downstream project A project can have one or several downstream projects, which means that a build for the downstream project may be scheduled when the current build is finished.

Securing Jenkins ─ Out of the box Jenkins has no security enabled. ─ To enable security, check Enable security in the global configuration. ─ Once security is enabled it is possible to set up desired security settings:

Securing Jenkins Authentication and Authorization ─ Security Realm: Atlassian Crowd

Securing Jenkins Authentication and Authorization ─ Access-control: Project-based Matrix Authorization Strategy

Securing Jenkins Project-based Matrix Authorization Strategy permissions o Overall - global activities such as administration rights o Slave - management of Jenkins slave instances o Job - create, manage, edit, and delete jobs o Run - specific build jobs o View - build job views o SCM - source code management systems o Artifactory - release/promote artifacts in binary repository

Securing Jenkins - Troubleshooting Disabling security when locked out: ─ edit the file config.xml in your JENKINS_HOME and set:  false ─ with security disabled you will have full access to Jenkins and be able to troubleshoot and fix security configuration. !!! Warning: with security disabled all Jenkins management functions will be available to non- authenticated user, be sure to block public access to Jenkins instance before disabling security.

Managing Plugins Jenkins plugin management is available via Manage Jenkins and selecting the Manage Plugins link. administration interface allows you see what plugin versions are currently installed, update them and install new ones as well as manage some advanced settings plugins allow you to support many new features beyond a basic Jenkins install as well as modify the user interface and transform Jenkins into the CI server your project needs

Managing Plugins

Creating New Job To create a new Jenkins project ─ click on New Job in the left navigation menu, which will display the New Job form

Common Job Configuration Settings General Project Settings ─ project name, description and other general parameters Advanced Project Options ─ miscellaneous settings for advanced usage. Source Code Management ─ source code management-related parameters for various systems Build Triggers ─ how builds are started Post-build Actions ─ steps taken after a build completion

Working with Maven Builds After configuring the general project options one or more build steps can be configured To add a build step, click on the Add build step button and select Invoke Maven 3

Working with Apache Ant builds After configuring the general project options one or more build steps can be configured To add a build step, click on the Add build step button and select Invoke Ant

Working with Gradle Builds After configuring the general project options one or more build steps can be configured To add a build step, click on the Add build step button and select Invoke Gradle

Working with Source Control - Git By default Jenkins has support for Git, Subversion and CVS pre-installed. Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. Atlassian Stash provides a central place to create and manage Git repositories hosted on MAE

Working with source control - Git By default Jenkins has support for Git, Subversion and CVS pre-installed. Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. Atlassian Stash provides a central place to create and manage Git repositories hosted on MAE

Git – Global Configuration Once Git is configured in the global Jenkins configuration project-specific Git settings can be configured.

Git - Project Configuration Select Git under the Source Code Management section of the Job configuration