building reusable jenkins pipelines - yoram michaeli - devopsdays tel aviv 2017
TRANSCRIPT
The JenkinsForce Awakens
DevOpsDays Tel Aviv
2017
Yoram Michaeli - Tikal
Knowledge
Building reusable Jenkins pipelines
Yoram MichaeliFullstack DevOps Technical Leader
Tikal KnowledgeFullstack as a service
Fullstack Developers Israel
Main domains: DevOps, Web, Mobile, Backend
So what is that we want to
achieve???
what message do we have?
We wantReusable Jenkins pipeline -
Jenkins as a code
Better usage of Jenkins pipeline
framework
Explore
main
stages (build, deploy,
test)
Identify
Reusable
Bits
Design
CI
Pipeline
Process
As
a Code
Shift
Left
Use
Shared
Library
Upstream jobs Downstream job
Upstream and Downstream
pipeline jobs
Shared
library
I speak fluently over six
million languages…
why Groovy???
Simple tasks
Send the
troopers!!!
sendTroopers.groovy
complex flows
BUILD TESTDEPLOY
Basic CI flow
Overwrite basic CI steps
tikal-pipelib
TPL
• https://github.com/tikalk/tikal-pipelib
• SHARED LIBRARY THAT CONTAINS:
• BASIC ACTIONS- E.G. ADVANCED-SLACK-NOTIFICATION
• COMPLEX FLOW CLASSESWITH INHERITANCE
• COMMUNITY DRIVEN LIBRARY
tikal-pipelib
• https://github.com/tikalk/tikal-pipelib-touchstone
• REPOSITORY THAT CONTAINS:
• PIPELINE CODE EXAMPLES -COLLECTION BASED ON WORK DONE FOR TIKAL’S CUSTOMERS
• TESTS & IMPLEMENTATIONS OF TIKAL-PIPELIB
• COMMUNITY DRIVEN LIBRARY
tikal-pipelib-touchstone
Presented by: Yoram MichaeliBackstage team: Tikal Knowledge DevOps group
GitHub repository: tikal-pipelib
More info: [email protected]
Presented by: Yoram MichaeliBackstage team: Tikal Knowledge DevOps group
GitHub repository: tikal-pipelib
More info: [email protected]