Technology Primer: Closing the DevOps Loop by Integrating CA Application Performance Management and Jenkins
Srikant Noorani
DevOps: Agile Ops
CA Technologies
Sr. Engineering Services Architect
DO5X201S
#CAWorld
2 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
© 2015 CA. All rights reserved. All trademarks referenced herein belong to their respective companies.
The content provided in this CA World 2015 presentation is intended for informational purposes only and does not form any type of
warranty. The information provided by a CA partner and/or CA customer has not been reviewed for accuracy by CA.
For Informational Purposes Only
Terms of this Presentation
3 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
Abstract
The new CA Application Performance Management (CA
APM) plug-in for Jenkins helps organizations leverage CA
APM in the pre-production environment by integrating
with Jenkins, a popular continuous integration tools. With
this plug-in, the critical pre-production test data can now
be seamlessly brought into Jenkins and presented in a
unified cross-build or per-build dashboard. It enables the
app developers to configure build pass or fail conditions
automating the decision making process without any
manual intervention.
Srikant Noorani
CA Technologies
Sr Engineering Service Architect
4 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
Agenda
TRADITIONAL SDLC
JENKINS OVERVIEW
CA APM JENKINS PLUGIN
DEMO
1
2
3
4
Traditionally …
Traditional SDLCDev QA UAT Prod
Unit
Test
Func
Test
Smoke
Test
Perf
Test
Prod
Depl
Dev QA UAT Prod
Check
in
Func
Test
Smoke
Test
Perf
Test
Prod
Depl
Jenkins
6 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
Jenkins Overview
Jenkins is an open source continuous integration tool written in Java. The project was forked from Hudson. Jenkins provides continuous integration services for software development. It is a server-based system running in a servlet container such as Apache Tomcat™1.
• Automates the Release Pipeline
• Thousands of plugins to accomplish various tasks
• Supports Distributed builds
• Extensible
1 https://en.wikipedia.org/wiki/Jenkins_(software)
Jenkins in Action
Traditional SDLCDev QA UAT Prod
Unit
Test
Func
Test
Smoke
Test
Perf
Test
Prod
Depl
Dev QA UAT Prod
Check
in
Func
Test
Smoke
Test
Perf
Test
Prod
Depl
Jenkins
8 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
Jenkins Terminology
• Project: A set of tasks that can be run together to accomplish a goal
• TixChange Func Test Project
• Task: A unit of work that is part of the project and can have pass/fail condition to determine if the next task in the workflow can be executed or not. Can also be used to determine overall project pass/fail status
• Jenkins Plugin: Used to define a task
9 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
CA-APM Jenkins Plugin – Features
Collect multiple KPI’s
Configure multiple fail conditions
Notify via email of build pass or fail
Ability to only notify and not mark the build as fail even if the fail conditions are met
Ability to decorate ATC node with Build Number and Build Status
Ability to jump in context to APM Webview from Jenkins build or cross-build dashboard
10 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
CA-APM Jenkins Plugin – How it works
Utilizes Http plugin deployed on the EM to query EM (easy xl toolkit)
Deploy ca-apm.hpi in Jenkins (standard Jenkins plugin deployment process)
Shows up as a “post-build” task Configure key information like EM host, port, key metrics,
task fail/pass condition etc and save Will run as part of the project build and will mark the build
as pass or fail based on the configured condition Can pull past build information for comparison purposes.
The data is saved automatically by Jenkins
11 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
Demo – Setup
Project Name – TixChangeEndToEnd
Purpose – Run a complete Functional Test and Determine Build Pass or Fail based on the configured condition
Configured Jenkins Tasks– SCM Task: Retrieves TixChange Build from Internal GitHub
– Local Build Task: Kicks of a Build
– Deploy Task: Deploys the build on appropriate servers
– Restart Task: Restarts the TixChange server
– Jmeter Task: To run Jmeter Tests
– CA-APM Task: collects test data, marks the build as pass/fail, displays it as per build or across the build dashboards
12 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
Recommended Sessions
SESSION # TITLE DATE/TIME
DO5X189SHow to Achieve a Customer-Centric View in an Omni-
Channel World11/18/2015 at 1:00 pm
DO5X194SMonitor Microservices, Containers, Cloud Foundry and
Node with CA Application Performance Management11/18/2015 at 4:30 pm
DO5X193S
Customize CA Application Performance Management
with Tips for Using the CA Application Performance
Management Open APIs
11/19/2015 at 4:30 pm
13 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
Must See Demos
Application Performance Management and DevOps, featuring APM use in preproduction scenarios
Application Performance Management
Theater 5
Application Performance Management, Modern Monitoring, featuring the new APM Team Center
Application Performance Management
Theater 5
Ensuring a “5 star” mobile app experience with CA Mobile App Analytics
Mobile App Analytics
Theater 5
Unified Monitoring: APM Integrations including UIM
Application Performance Management
Theater 5
14 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
Follow On Conversations At…
Smart Bar
Application Performance Management
Theater 5
Tech Talks
Application Performance Management
Theater 5
15 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
Q & A
16 © 2015 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD
For More Information
To learn more, please visit:
http://cainc.to/Nv2VOe
CA World ’15