Upload
damien-duportal
View
197
Download
1
Embed Size (px)
Citation preview
voxxeddays.com/luxembourg/ #voxxeddaysLU
Jenkins 2.0 et Pipeline-as-code: Que se passe-t-il ?
Damien [email protected]@DamienDuportal
voxxeddays.com/luxembourg/ #voxxeddaysLU
Jenkins ?
voxxeddays.com/luxembourg/ #voxxeddaysLU
About Jenkins
• Open-Source automation server, built on the JVM with hundreds of plugins
ExtensibleOpenSource EasytoStart
voxxeddays.com/luxembourg/ #voxxeddaysLU
Jenkins is popular
0
1 000 000
2 000 000
3 000 000
4 000 000
5 000 000
6 000 000
7 000 000
0
20 000
40 000
60 000
80 000
100 000
120 000
11/1/2008 11/1/2009 11/1/2010 11/1/2011 11/1/2012 11/1/2013 11/1/2014
Active JenkinsInstallationsWorldwide
Total JenkinsJobsWorldwide
http://www.infoq.com/research/ci-server http://stats.jenkins-ci.org/jenkins-stats
voxxeddays.com/luxembourg/ #voxxeddaysLU
Easy to start
voxxeddays.com/luxembourg/ #voxxeddaysLU
Extensible
Over1100JenkinsPlugins
Integrationwithover100DevOps Tools
OrchestrationoftheDevOpsToolchain
End-to-EndCDPipelineManagement
Code&Commit Build&Config Scan&Test Release Deploy
voxxeddays.com/luxembourg/ #voxxeddaysLU
Jenkins 2.0 ?
voxxeddays.com/luxembourg/ #voxxeddaysLU
Let’s build something…… with Jenkins 1.x
voxxeddays.com/luxembourg/ #voxxeddaysLU
Pipelines in Jenkins 1.x
• Create jobs
• Trigger “downstream” jobs for next stage
• Easy!
voxxeddays.com/luxembourg/ #voxxeddaysLU
Pipelines in Jenkins 1.x
voxxeddays.com/luxembourg/ #voxxeddaysLU
Pipelines in Jenkins 1.x
voxxeddays.com/luxembourg/ #voxxeddaysLU
Pipelines in Jenkins 1.x
voxxeddays.com/luxembourg/ #voxxeddaysLU
Pipelines in Jenkins 1.x
voxxeddays.com/luxembourg/ #voxxeddaysLU
Pipelines in Jenkins 1.x
voxxeddays.com/luxembourg/ #voxxeddaysLU
Pipelines in Jenkins 1.x
voxxeddays.com/luxembourg/ #voxxeddaysLU
Easy !… not really
voxxeddays.com/luxembourg/ #voxxeddaysLU
• Launched on 26 April 2016
Jenkins 2.0
voxxeddays.com/luxembourg/ #voxxeddaysLU
New Jenkins.io
● Modern platform and UI
● Easier to use
● 1-2-3-4 Quickstart
● Centralized Documentation
● Solution-oriented Use Cases
● Events listings
voxxeddays.com/luxembourg/ #voxxeddaysLU
2.0 Themes• Improved “out of the box” user experience
• Drop-in replacement for 1.x
• Pipeline as code: front and center
jenkins-ci.org/content/jenkins-20-proposals
voxxeddays.com/luxembourg/ #voxxeddaysLU
Let’s discover Jenkins 2.x !
voxxeddays.com/luxembourg/ #voxxeddaysLU
Pipeline-as-code ?MaC: Mario as Code
voxxeddays.com/luxembourg/ #voxxeddaysLU
Pipeline as Code• Introduce “pipeline” as a new type in Jenkins
• Codify an implicit series of stages/steps directly in your job definition or into an explicit Jenkinsfile in your/a source repository
•Built-in global library to share Pipeline scripts, functions, variables across jobs on your master.
• Extend the DSL with your own steps.
•Durable tasks keep running while the Jenkins master restarts.
22
voxxeddays.com/luxembourg/ #voxxeddaysLU
Pipeline MultiBranchMaster
FeatureBranch1
FeatureBranch2
MasterPipelineJob
FB1PipelineJob
FB2PipelineJob
voxxeddays.com/luxembourg/ #voxxeddaysLU
Let’s build something…… with Jenkins 2.x !
voxxeddays.com/luxembourg/ #voxxeddaysLU
The Road Beyond…
• Blue Ocean, A new user experience for Jenkins -https://jenkins.io/projects/blueocean/
• Continuous Delivery
• User Experience
• Scalability & Availability
voxxeddays.com/luxembourg/ #voxxeddaysLU
voxxeddays.com/luxembourg/ #voxxeddaysLU
Where to start ?• Jenkins.io:
• https://jenkins.io/2.0/• https://jenkins.io/doc/pipeline/
• Demos:• https://github.com/jenkins-demo• https://github.com/jenkinsci/pipeline-examples
• CloudBees• Website: https://www.cloudbees.com• CloudBees Jenkins Platform:
• https://www.cloudbees.com/products/cloudbees-jenkins-platform• This Demo code: https://github.com/dduportal/voxxed-lu-2016• Participate in the community !
voxxeddays.com/luxembourg/ #voxxeddaysLU
Thank you ! Questions ?
Thanks to CloudBees people for the support: Arnaud Heritier, Adrien Lecharpentier,Nicolas DeLoof and Jean-Philipe Briend