Perforce Birds of a Feather

Slides:



Advertisements
Similar presentations
Implementing Tableau Server in an Enterprise Environment
Advertisements

©2011 Quest Software, Inc. All rights reserved.. Andrei Polevoi, Tatiana Golubovich Program Management Group ActiveRoles Add-on Manager Overview.
Extending ForeFront beyond the limit TMGUAG ISAIAG AG Security Suite.
Jenkins User Conference Jenkins User Conference San Francisco, Sept #jenkinsconf Using Jenkins in the Enterprise and the Cloud Mark Prichard Kohsuke.
Discovering SQL all rights reserved (c) 2010 agilitator.com INSTALLING MySQL 5.1 Community Server.
ANDROID PROGRAMMING MODULE 1 – GETTING STARTED
CRSX plug-in development. Prerequisites Software and Libraries Eclipse RCP (3.5 or higher) –Go –Select.
© 2010 VMware Inc. All rights reserved Data Protection Module 10.
Automating Drupal Deployment Dominique De Cooman.
Leading at Every Turn. 1)Make sure you have your Trusted Sites configured properly in Internet Explorer 2)Store your credentials on your PC so you.
© 2012 IBM Corporation Tivoli Workload Automation Informatica Power Center.
Electronic Field Study Administrative Training
Session 10 Windows Platform Eng. Dina Alkhoudari.
© 2010 VMware Inc. All rights reserved Patch Management Module 13.
علیرضا فراهانی استاد درس: جعفری نژاد مهر Version Control ▪Version control is a system that records changes to a file or set of files over time so.
Copyright 2000 eMation SECURITY - Controlling Data Access with
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Purpose  This training module provides an overview of optimization techniques used in.
Windows Security. Security Windows 2000/XP Professional security oriented Authentication Authorization Internet Connection Firewall.
RMsis – v Simplify Requirement Management for JIRA.
MAE Continuous Integration Administration guide July 8th, 2013.
LDAP Authentication Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
GumTree Development Environment Setup Windows Only Compatible with Eclipse 3.2 M3 (Last update: 16/11/05)
Artifact Management Managing Maven and other artifacts in Perforce.
Installing SAS 1. Requirements If you do not have an old copy of SAS installed on your computer, go directly to Slide 6. Make sure you have uninstalled.
PAYware Transact Terminal Interface Manager
Linux Operations and Administration
TROI – SPC Database Walkthrough Training Presentation Doc. USTP0213 Rev4.
® IBM Software Group © 2006 IBM Corporation Rational Asset Manager v7.2 Using Scripting Tutorial for using command line and scripting using Ant Tasks Carlos.
Build and Deployment Process Understand NCI’s DevOps and continuous integration requirements Understand NCI’s build and distribution requirements.
ENA Connect Outlook Toolbar. Only available to ENA Connect Pro Users Works with Windows XP and Office 2003 and 2007 Vista still in testing Previous versions.
© 2016 CloudBees, Inc. All Rights Reserved 1 Jenkins 2.0 and Beyond Nigel Harniman, Senior Solution Architect.
Windows Vista Configuration MCTS : Internet Explorer 7.0.
© 2013 IBM Corporation IBM UrbanCode Deploy v6.0 Support Enablement Training Jenkins plug-in 1 November 2013.
PRODUCT - ORGANIZATION - AGILE - LEAN CD - Agile on Steroids - (and what Jenkins got to do with it) Paul Bakker linkedin.com/paulgbakker github.com/p-bakker.
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC , the State of Michigan.
#JenkinsWorld Perforce Birds of a Feather An introduction to the ‘P4’ Plugin and update on the latest features. Paul Allen – Perforce Software.
Server Edition Demo Mode Installation. © 2015 Avaya Inc. All rights reserved. 22 Agenda  Software Installation  Ignition Process  Activating Demo Mode.
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.
Getting Started as an EdgeX Developer
ONAP on Vagrant for ONAPers
Training Objectives About D2F Download Installation Configuration
Rob Cramer – BPM Practice Manager
3.3 PC ICOM Card Driver Installation
Trends like agile development and continuous integration speak to the modern enterprise’s need to build software hyper-efficiently Jenkins:  a highly.
Getting Started as an EdgeX Developer
Logo here Module 3 Microsoft Azure Web App. Logo here Module Overview Introduction to App Service Overview of Web Apps Hosting Web Applications in Azure.
Introduction To Networking
Productivity Tools Extensions to NetBeans IDE that make life easier
Using Jenkins for your DSC CI Pipeline
Intro to Config Management Using Salt Open Source
Azure Automation and Logic Apps:
X in [Integration, Delivery, Deployment]
(Includes setup) FAQ ON DOCUMENTS (Includes setup)
Enter your user name and password and click ‘Connect’
Install Ruby If you are running on Mac OS X, Ruby is preinstalled.
Introduction to Ansible
Cognitive Service in AR platform.
NETWORK SECURITY LAB Lab 8. Firewall and VPN.
JENKINS TIPS Ideas for making your life with Jenkins easier
Configuration Of A Pull Network.
Perforce Plugin for Jenkins
Converter for IIS and SharePoint Converts s into SharePoint list items 24/7 Creates SharePoint list items from s
CONTINUOUS INTEGRATION –WHY WE DO IT?
Jenkins pipelines Presented by Pierre-Henri Symoneaux
(Includes setup) FAQ ON DOCUMENTS (Includes setup)
Overview on CI Use JJB (Jenkins Job Builder) to manage Jenkins jobs.
Building LabKey with Gradle
Preparing for the Windows 8. 1 MCSA Module 6: Securing Windows 8
A Firmware Update Architecture for Internet of Things Devices
Presentation transcript:

Perforce Birds of a Feather An introduction to the ‘P4’ Plugin and update on the latest features. Paul Allen – Perforce Software

Polling, triggers and reviews P4 Groovy Introduction The Perfect Monorepo P4 plugin Getting started Workspace management Polling, triggers and reviews P4 Groovy

The Perfect Monorepo What is a Monorepo? © 2016 CloudBees, Inc. All Rights Reserved

One Repo The Monorepo One Repo to rule them all, One Repo to find them, One Repo to bring them all and in the server bind them. © 2016 CloudBees, Inc. All Rights Reserved

The Monorepo Store all sources, projects and sub projects; even artifacts, tooling, docs and test reports... All in one place, but accessible everywhere

SourceTime Build a view across source and time Reproduce any source at any point in time

Global Access Fast access across the global Fine grain protections

Perforce plugin support for Jenkins P4 Plugin Perforce plugin support for Jenkins © 2016 CloudBees, Inc. All Rights Reserved

Community ‘Perforce’ plugin Perforce Supported ‘P4’ plugin Disambiguation Community ‘Perforce’ plugin https://wiki.jenkins-ci.org/display/JENKINS/Perforce+Plugin Perforce Supported ‘P4’ plugin https://wiki.jenkins-ci.org/display/JENKINS/P4+Plugin

Why P4Java Latest features The ‘P4’ plugin Efficient use of Perforce to reduce server load. P4Java Pure Java solution No ‘P4’ executable to install and keep up-to-date. Latest features Streams, sync and clean up options

Getting started First the basics… © 2016 CloudBees, Inc. All Rights Reserved

Configure a basic connection Managing Workspaces Getting started Configure a basic connection Managing Workspaces Source code management All from the perspective of Jenkins Freestyle Job and Pipeline DSL

Connection information Password credentials Perforce address and port workshop.perforce.com:1666 Password credentials Username Password ID (useful to reference in the DSL) Description

Ticket based security SSL and Trust Credentials Perforce generated Ticket String $ p4 login –p 4E034A8812F81B38229BF8FA62B0FEB1 Location of Perforce P4TICKET file /home/pallen/.p4ticket SSL and Trust Check the SSL box to add the ssl: part to P4PORT Use p4 trust or click test to get the fingerprint

Jenkins and Perforce Workspaces Workspace Management Jenkins and Perforce Workspaces © 2016 CloudBees, Inc. All Rights Reserved

Jenkins workspace Perforce workspace Shared root Workspaces Location of files (on the master or slave) for Jenkins to build Perforce workspace Location where Perforce will manage the versioned an non-versioned files Shared root Recommend Perforce and Jenkins workspaces share the same root One Jenkins workspace to map to one Perforce workspace

View Mapping Workspace +---AceProject | +---src | +---test | +---docs | +---libs +---BlastProject | | +---blast.jar //depot/AceProject/... -//depot/AceProject/docs/... -//depot/AceProject/libs/... //depot/BlastProject/libs/...

Workspace //depot/AceProject/... -//depot/AceProject/docs/... -//depot/AceProject/libs/... //depot/BlastProject/libs/... //{client}/Ace/... -//{client}/Ace/docs/... -//(client}/Ace/libs/... //{client}/Ace/plugins/...

Perforce workspace Jenkins Workspace Workspace +---AceProject | +---src | +---test | +---docs | +---libs +---BlastProject | | +---blast.jar Jenkins Workspace +---Ace | +---src | +---test | | | +---plugins | | | | | +---blast.jar

Variable expansion

SCM Stages Populate Label Publish

Populate Auto Force Clean

Label Automatic label View Description Label on success

Publish Workspace setup Narrow views Read/Write access Virtual streams

Polling, Triggers and Reviews Still polling? © 2016 CloudBees, Inc. All Rights Reserved

Polling vs Triggers Pin Filter Incremental builds

Swarm Reviews Configuration Callbacks Browsing

Classic Jobs Walkthrough or demo

Pipeline Walkthrough or demo

P4 command access for Groovy P4 Groovy P4 command access for Groovy © 2016 CloudBees, Inc. All Rights Reserved

P4 Groovy Walkthrough or demo

Questions

© 2016 CloudBees, Inc. All Rights Reserved